Meta interview question

Implement path simplification for Linux commands