Had onsite at Facebook today.
1. Career + Coding: Went okay. Able to talk and solve the problem. (LC -Med)
2. Coding: The interviewer was initially asking about some design of my previous project that took about 5 mins and some introduction(3-5 mins). Was given LC-Med and I was able to solve the problem most of it. But there was some edge case it was failing. He asked to run with different test cases, again and again, to make me fix the bug. But we were running out of time and I didn't get second at all. He gave a hint to fix the bug and left.
3. Coding: A brief introduction and started off with the coding problem. Was given with LC-Med. I was able to solve the problem most of it (again). But there was one edge case that was not considered at all. She gave a hint to solve that before leaving. No second question here as well.
4. System Design: Went well. Able to talk and drive the conversation. Felt he liked the conversation too.
Since I didn't solve the problem completely on both coding rounds, I am not positive at all.
But wanted to check if the second question in the coding will be given only if we solve the first question? Is this case with Facebook (Google asked for the second question exactly after 20 mins, even though the first question was halfway through) Anybody had only one LC-Med in Coding round at Facebook onsite?
Note that I went onsite to do my screening. So I was solving on whiteboard. Idk about you.
Idk if working code is like a strict requirement as long as your logic and through process were sound. This depends on the interviewer tho but I think it's ok.
How did you prepare for system design?