Microsoft interview question

Implement a function to simplify a unix based path. Example: input: /a/b/../c/. output: /a/c

Interview Answers

Anonymous

2 July 2019

Implemented with a stack.

Anonymous

19 Oct 2019

Leetcode: simply path