Meta E4 Onsite
Company: Meta
Role: e4
Interview Stage: Onsite
Location: unknown
Year: unknown
Original Post Content:
I have been trying to crack FAANG for 1.5 years now. Have given interviews to almost every FAANG company and gotten rejected. Today, it gives me great pleasure to share with you guys that I finally cracked the F in FAANG.
Leetcode and this community has been the north star in my interview prep and I feel like I owe this community and would like to give back. Below are the details of my recent onsite @ Meta/Facebook. I hope it helps someone.
For those who aspire to take this journey, to you I say, keep grinding, you'll get there.
Phone Screen:
1- valid-palindrome-2
Recursive solution -> O(n) time and O(n) space for recursive stack
2 - diameter-of-a-binary-tree
Recursive solution -> O(n) time and O(n) space for recursive stack
Onsite
Round 1:
System Design: Distributed Web Crawler
Round 2:
1 - Valid Word Abbreviation
Two Pointer -> O(n) time with O(1) space
2 - Shortest Path in a Binary Matrix
BFS -> O(n*m) time and O(n*m) space
Round 3:
1 - Variation of LRU cache
DoublyLinkedList + Map solution -> O(1) time for all operations and O(n) space
2 - Minimum remove to make valid parenthesis
Stack + HashSet solution -> O(n) time with O(n) space
Round 4:
Behavioral:
- Recent complex project
- Conflict Resolution