META | PHONE SCREEN | SUMMER 2022 | SDE
I recently gave facebook phone screening round for summer 2022. I was asked 2 questions: 1 was LeetCode medium and the other was a bit of a variation of a LeetCode medium.
I gave the correct answers to both the questions in the most optimal time, explained to him very well how I was reaching to that statement, ran edge cases to him, and found one little error in the second code for one edge. I myself pointed that out too and just added an equal to sign and it was correct.
In the end he said, "You did great, and it couldn't have gone better."
I started preparing for the next round and 1 week later I got a reject. I don't understand how things work. I don't understand how I can be better at this if I am giving best solutions and still getting rejects.
If you have any suggestions, please let me know.
Questions:
- https://leetcode.com/problems/buildings-with-an-ocean-view/
- https://leetcode.com/problems/interval-list-intersections/