Coding Round 1:
https://leetcode.com/problems/next-permutation/description/
https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree/description/
Coding Round 2:
Graph traversal - Given a graph and user, return a list of their 'friends of friends' and number of friends in common
https://leetcode.com/problems/top-k-frequent-elements/description/ - follow up of the last question, return the top k 'friends of friends'. Interviewer specified the solution must be O(n) on average (quickselect)
System Design Round 1:
Design live comments on a feed of posts
System Design Round 2:
Design Leetcode with live competition leaderboard
Behavioral:
Don't really remember but they are pretty typical behavioral questions. One important detail is your answers should be (framed as) from the past 6 months. I began talking about a mistake from early career and interviewer wanted an example from the past 6 months.
Outcome: Rejected
No feedback was provided but my guess is my first system design round didn't go too well. I didn't understand the question at first and was thinking more along the lines of live comments on a video. But the question was for a feed of posts and each post has live comments.
I also didn't do well in the 2nd coding round. There was a lot of miscommunication and I couldn't solve the first question. I was able to solve the second problem easily as I recognized it was quickselect right away but I stumbled a bit during the dry run.


