Interview Question

Software Engineer New Grad Interview

-Dublin, Dublin

Microsoft

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

AnswerAdd Tags

Interview Answers

2 Answers

0

Implemented with a stack.

Anonymous on

0

Leetcode: simply path

Anonymous on

Add Answers or Comments

To comment on this, Sign In or Sign Up.