Disclaimer:
I am writing this post in attempt of help other students who are in the same boat just like me, trying to crack FAANG interviews. I understand I have my flaws, I might have failed to communicate my answers to the interviewer or numerious other things that might have went wrong. I got feedback from my recruiter in exactly 6 minutes later about the my rejection, which makes me think, why did they even care to conduct the interview?
Technical Interview 1: (45 mins)
[Q1] https://leetcode.com/problems/basic-calculator-ii/description/
[Q2] https://leetcode.com/problems/valid-palindrome-ii/
Technical Interview 2: (45 mins)
[Q3] https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree/
[Q4] https://leetcode.com/problems/trapping-rain-water/
[Q5] Not able to find this question on leetcode.
Given [(0,2), (0,0), (3,4), (2,2), (2,0)], find the four points that can form a rectangle. You can assume the rectangle cannot be flipped/rotated, has to be parallel along X and Y axis.
I solved [Q1], [Q2], [Q3], [Q4]. Came up with a efficient solution (absolutely because I had seen this problems before). [Q5] threw me off the cliff, both because I wasn't expecting 3rd questions and this is a question that I had never seen before, my brain needed time to comprehend. I tried to brute force it because the interviewer told me "you have 2 mins to come up with a solution", came up with a n! solution. I knew it then, this went downhill pretty quick.
I understand the need of selecting the best of the best for a company like Facebook. I wish they gave me little more explanation that "We cannot discose feedback due to company policy". Students like me wants to know where we can improve so that we don't have to go through this again.