← Back to experiences
[ OK ] Loaded —
[ INFO ]
$ cd
$ ls -lt
01
02
03
04
05
$ ls -lt
01
02
03
04
05
user@intervues:~/experiences/…$
Level: Unknown Level
Round: Phone Screen · Type: Coding · Difficulty: 6/10 · Duration: 60 min · Interviewer: Neutral
Topics: Algorithms
Location: Menlo Park, CA
Interview date: 2026-01-18
I had a technical phone interview with a very nice interviewer.
Question: Implement the Linux cd command given the current working directory. Also, merge intervals.
The interview consisted of two coding questions. The first was to implement the Linux cd command given the current working directory. The second question was merge intervals.
My approach to the first question:
. (current directory) and .. (parent directory).My approach to the second question:
LeetCode similar: LeetCode 56