← Amazon questions

Directory path from shell command execution

Filed under Amazon

Given a string representing an absolute path or relative path with shell navigation commands ('..' for parent directory, '.' for current directory, and directory names), simplify the path to its…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Amazon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.