Domanda di colloquio di Microsoft

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.

Risposta di colloquio

Anonimo

15 dic 2015

Think stack

2