Given a directory string "c/a/../b/./d" write a method that outputs the final directory. (In this example, "c/b/d"). A "." input stays in the current directory, a ".." input goes back one.
Anonymous
Think stack
Check out your Company Bowl for anonymous work chats.