Parse `cd` commands and compute the absolute path after a series of directory changes.
Constraints
Example
```python
>>> cd_manager("/a/b", ["..", "c", "d/", "."])
"/a/c/d"
>>> cd_manager("/a//b/", ["..", "..", ".."])
"/"
>>> cd_manager("/", ["usr", "local", ".."])
"/usr"
```
Recent Submissions
No submissions yet — hit Run Tests to try!
Hints