Airbnb virtual onsite, booking problem plus chat system SD
Airbnb virtual onsite, booking problem plus chat system SD
Just wrapped up the virtual onsite, still waiting to hear back after four rounds, sharing details since info on this one's scattered.
Two coding rounds. First was the booking/split stay problem, minimize bookings needed to cover a set of time slots, solved it with memoized DFS plus early termination. Second was a linked list intersection question, two lists that might each have their own cycle, gotta figure out if they share a node.
SD round was the chat system. They cared a lot about the schema and how you'd route messages across multiple servers for group chats, communication mattered more than nailing every edge case tbh.
Deep dive went almost 40 minutes on one project, probably should've kept it tighter.