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 = "anagram", t = "nagaram"trues = "rat", t = "car"falses = "", t = ""trues = "a", t = "ab"falses = "hello", t = "olleh"trueTime Complexity
Space Complexity