Discord Software Engineer Interview Questions
Master your tech interview with our curated database of real questions from top companies.
Explain C++ alignment and ABI stability
You are interviewing for a senior C++ / systems role. The interviewer asks two low-level fundamentals questions: 1. C++ memory alignment and padding ...
Implement an asyncio-based chat server
Async Chat Server (Python asyncio) Implement a TCP chat server using Python asyncio. Part 1 — Single global room Your server listens on a given port a...
Design leader election using Redis leases
Leader/Follower via Redis (Lease-Based Leader Election) You have N stateless service instances running the same job. At any time, exactly one instance...
Debug and mitigate a CPU spike incident
Production Debugging: CPU Spike Incident (Open-Ended) You are on-call for a backend service. An alert fires: CPU usage suddenly spikes on the service’...
Design a Slack-like chat system
System Design: Slack-like Messaging (Channels + DMs) Design a Slack-like messaging backend that supports: - Public/private channels with many members ...