Design a real-time online chess platform using PostgreSQL, Redis Pub/Sub, and WebSockets. Users can create games, join through invite links or matchmaking, play timed chess, reconnect, and review game history. The server validates moves, enforces turns and clocks, and handles checkmate, draws, resignations, and timeouts. Use PostgreSQL as the source of truth with exactly these tables: | Table | Purpose | |---|---| | accounts | User accounts and player identity. | | games | Game ID, participants, settings, invite token/link, status, and current_version. | | game_metadata | Immutable ful…
HeapSeek lists 23 Upstart interview questions reported by candidates: 18 coding, 1 system design, 2 AI-assisted Coding and 2 behavioral. They come from online assessments, phone screens and onsite rounds for SWE, RS and MLE roles, most recently in November 2026. The topics that come up most are string, simulation, array, fullstack, hashmap and math. Each question has its problem statement, follow-ups, hints and a worked solution for members.