Motorola Solutions interview question

How to evaluate a path using data structures.

Interview Answer

Anonymous

Apr 15, 2015

Stack can be used. When we see directory name as ".." we pop out the recent folder, so at the end we get absolute path.