Level: Senior-Level
Round: Onsite · Type: Multiple Types · Difficulty: 7/10 · Duration: 300 min · Interviewer: Unfriendly
Topics: Machine Learning Design, Data Structures (Trie), Algorithms, Behavioral Questions, Leadership Principles
Location: San Francisco Bay Area
Interview date: 2026-01-19
Got offer: False
Question: Design a system to detect unsafe content. I spent too much time on this and almost ran out of time.
Question: Design a real-time home feed that is responsive to user engagement. The interviewer seemed to have a strong infrastructure background and asked about specific service implementation details, which I struggled with.
Question: Implement a Trie for search auto-completion. I spent a long time writing the code, but it had bugs. I couldn't figure out where the errors were, and the interviewer suggested I try a different approach. I realized later that I had defined the Trie node as a class variable. Fixing that would have made it work.
Question: Given several rooms and people, initially all in room 0, and a function move(person) that moves a person to the next room. Given a room number, how many people are inside it (requiring O(1) time)? Output the k people who moved the fastest. For example, 5 people and 5 rooms, move(1), move(2), move(1). Room 1 has one person, and Room 2 has one person. The top 2 are person 1 and person 2. The suggestion of using a doubly linked list for each room (because the move fast part needs to consider people in the same room, starting from the earliest to enter the room) was accepted, but the implementation still had bugs. The interviewer helped debug for a long time, but after 15 minutes of overtime, the issue was still not found.
Question: Standard behavioral questions, divided into leadership and technical aspects. The technical questions were quite detailed. When I mentioned a concept, the interviewer asked me to provide a specific example.