Dev Ops in 30 Days

71. Simplify Path - LeetCode

71. Simplify Path

My idea is to push every folder into a stack, then build the simplest path based on the stack:

content

Comments