Meta | E4/E5 | OnSite | waiting Results |extra Follow up design round
Company: Meta
Role: E4 / E5
Interview Stage: Onsite
Location: unknown
Year: unknown
Original Post Content:
March 8th I got the following problems, did both and did great. Then I got the move to the onsite mail just after 2 hours from the screening I did very well.
Phone Screen:
https://leetcode.com/problems/basic-calculator-ii/
https://leetcode.com/problems/valid-palindrome-ii
System Design:
Judge system like Leetcode
Basically
User->LB->SubmissionService->Kafka->Workers->MySql tables
Tables:
User / Problems / Testcases / Contest / Submission
Two follow up questions:
- control random generated submissions: rate limiting using redis HashMap
- Will you use the same worker for running all code types:
I chose to make it worker per programming language to control custom setting / scalability options per Language.
Second round:
I got the following problems:
https://leetcode.com/problems/minimum-remove-to-make-valid-parentheses/description/
I did it on time / run dry test cases
Second was: https://leetcode.com/discuss/interview-question/124616/Facebook-or-Merge-two-interval-lists
I explained the idea, got the green light to code it up.
The point is I stuck for 5 mins at one step.
Then I coded it up completely, did one dry run at the last mins.
Behavior questions: regular questions/answer. Nothing wrong or impressive..fair enough
Coding Two:
https://leetcode.com/problems/range-sum-of-bst/description/
DFS / dry run.
https://leetcode.com/problems/the-maze/
BFS O(nm) / Space (nm)(nm)
Did a dry run and interviewer looks satisfied, spent like 7 mins asking him at the end of the round.
What are the chances? any idea
Update: Made it to the team match...is there any risk at the Team Match phase? if yes what is the ratio or what might be the scenario. ??