Fetching algorithms...
Fetching algorithms...
Watch key transitions, pointers, and variables update step-by-step.
Read clean, documented implementations across multiple patterns.
Sketch diagrams on an infinite canvas and draft notes directly inline.
s = "aab"[["a","a","b"],["aa","b"]]s = "a"[["a"]]s = "efe"[["e","f","e"],["efe"]]Time Complexity
Space Complexity