OpenAI logoOpenAI
CodingMembers

Implement a CD Command

Members only

Implement a cd() method that behaves like running cd <destination> in a terminal and then calling pwd. The problem builds from relative-path normalization (handling .., ., repeated slashes, trailing s...

SWE
string-processing
stack
parsing
medium
Frequency
Single report
Last asked
2025-12-27
Stage
onsite-coding

Log in to continue reading the full content