← Back to experiences
[ OK ] Loaded —
[ INFO ]
$ cd
$ ls -lt
01
02
03
04
05
$ ls -lt
01
02
03
04
05
user@intervues:~/experiences/…$
Given overlapping ranges, find the number which appears the most times (in the given ranges). This is similar to the Meeting Rooms II question.
Find Cheese
The first question was challenging; it took approximately 30 minutes to develop a solution involving sorting the last index of each range. However, this solution did not cover all test cases.
Fortunately, I had previously solved the second question and was able to provide an optimal solution.
I passed the screening round, but it was a close call.
General Question: Will the screening round impact the overall hiring process at Meta?