Meta Interview Question

Leet code 71. Simplify Path