Change Directory
Implement a function that simulates the 'cd' (change directory) command, handling both relative and absolute paths. Handle edge cases such as invalid paths and proper resolution of '.' (current directory) and '..' (parent directory) references.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Hello Interview Premium
Your account is free and you can post anonymously if you choose.