Facebook | Phone | Minimum Remove to Make Valid Parentheses
Position: SWE
Location: Menlo Park
So I had my technical phone screen for Facebook last Monday. I got the question
https://leetcode.com/problems/minimum-remove-to-make-valid-parentheses/
I have premium but never made it around to doing this one in particular. Seemed easy at first, but the way my interviewer worded it through me off. I was able to provide an O(n) solution but problem was it took me 30 mins to figure it out. The other day I emailed my recruiter and asked about feedback which was mixed. They liked how I stumbled through to find the answer but said I needed to practice on being more fluid in the interview(speaking my thoughts out loud). I was nervous AF during the interview but no excuses. They also mentioned using pramp.com to practice technical interviews and then he was like yea instead of waiting a full year he would get in touch with me in about 6 months to reapply. Also ask as many questions as possible before coding, even if its a stupid one(they pay attention to that). So yea thats it.
Takeaways:
I dont look at this as a bad thing even though its a failure, its more of like adding to my arsenal, I know what not to do. FB is very keen about you asking clarrifying questions(at least 4) before you even start coding(i asked 3). But I'ma keep pushing and see what esle is out there. Hope this helps


