LeetCode
Question
·
Mar 2020
·
Los Angeles
Facebook | Phone | Change Working Directory
64 upvotes
24,773 views
28 replies
Question Details
Given current directory and change directory path, return final path. For Example: Curent Change Output / /facebook /facebook /facebook/anin ../abc/def /facebook/abc/def /facebook/instagram ../../../../. / I solved it using stack but unfortunately it…
Full Details
🔒
Unlock full leaked content
Full insider details, leaked discussions, and candidate experiences.
Get Premium →Topics
Stack
More from Meta
Reddit
Leetcode is cooked in 2026 and we don't hire people who only grind leetcode.
Reddit
Returning to SWE work after 3 years of cancer treatment
Reddit
2026 New Grad Recap
Reddit
Most likely failed meta phone screen
Reddit
Targeting OpenAI SWE Roles? Insights on what to expect from recent system design loops