Simplify Path
In Unix/Linux, file paths use "/" to separate directories. Example: "/home/user/docs" points to the "docs" folder. Sometimes paths have extra slashes: "/home//user/" Your task: Clean up a path by removing duplicate/trailing slashes. Example: "/home//user/" → "/home/user" Example: "///a//b/" → "/a/b"
Simplify Path rewards disciplined state tracking more than raw coding speed. Interviewers love it because it reveals your stack invariants and your edge-case discipline. The classic mistake is not being clear about what your stack represents at each step.

Meet Coco
Coco is an AI study partner, not a person. She listens while you explain your code, asks what a line does and never hands you the fix. Typing with Coco is free when you sign in, up to a daily limit. Talking with her out loud comes with the $79 pack. Anyone can open the editor and run their code.
Each locked part opens in the editor once the part before it passes.