50 system design interview questions, each with a worked answer.
URL shortener, WhatsApp, YouTube, Uber, rate limiter, Ticketmaster, payment system, ChatGPT, and 42 more.
Start with whichever one you'd least like to get tomorrow:
firecode.io/system-design?ut…
1
121
Full walkthrough: youtu.be/5QJhF4X85qs
Practice it: firecode.io/?utm_source=twit…
6
Buying at the lowest price is the wrong first move in Best Time to Buy and Sell Stock.
On 5, 6, 2, 9, 1, 7, 0 the cheapest day comes last. Track the cheapest price so far and the best profit so far: one pass.
1
42
Replying to @barrylogen
that's the scary half. a read token leaks code, a write token means auditing every commit and deploy since it was stolen. signed commits and branch protection earn their keep on weeks like this
1
1
19
1Password on Wednesday, SAP today. both reportedly in through employees' GitHub tokens.
system design question for the week: how do you give thousands of engineers access to code without any single stolen token being enough?
‼️ BREAKING: SAP has confirmed it was hit by a cyberattack.
The German software giant told news magazine DER SPIEGEL it took immediate steps to protect customers, and has so far found no sign that anyone accessed customers' business data. It did not answer detailed questions.
SPIEGEL's sources inside SAP say the attackers stole employees' login tokens, then used them to change and copy SAP source code on GitHub, possibly with the help of AI agents.
SPIEGEL reports the incident is known internally as "Project Granite".
1
1
137
Replying to @IntCyberDigest
same way in as 1Password on Wednesday: an employee's GitHub token. two big ones in one week. if your org still hands out long-lived personal access tokens, rotate them tonight
4
1,135
a lot of those 10,000 are about to walk back into the same loop: LeetCode mediums, a system design round, "tell me about a time".
if that's you, which round scares you most right now?
SAP is preparing a plan to eliminate at least 10,000 positions to transform its software business for the artificial intelligence era, according to people familiar with the matter. bloom.bg/4fuzNpO
📷️: Kirill Kudryavtsev/AFP/Getty Images
71
Replying to @business
second big "AI restructuring" at SAP in about two years. if you're one of the 10,000, start interview prep this week, not when the severance runs low
1
318
Replying to @Breaking911
every engineer watching this felt it in their stomach. a test message, in prod, on Thanksgiving, during Bears-Lions
2
1,757
thanksgiving tip for the recently laid off: when your aunt asks how the job search is going, just say "optimizing"
1
1
120
Replying to @0x0SojalSec
"how would you eval a million agent calls a month" is quietly becoming the new "design a URL shortener". what would you measure first?
1
368
Replying to @archer_uwu
1.8 GB to 133 MB is the best argument for a rewrite I've seen all year. now the real test: how many features until Phoenix finds its way back to 1.8
224
Replying to @GergelyOrosz @katelyn_lesse
the 1:24:13 chapter is where everyone job hunting will skip to. did Katelyn say what replaced the coding interviews? "boil it down to make it verifiable" from the Rust rewrite sounds a lot like the new bar
214
A hash set finds a linked list cycle in O(n) space. Then the interviewer asks for O(1).
One pointer steps once, one steps twice. If the list loops, the fast one always catches the slow one.
1
87
Replying to @1Password
that last paragraph is the whole architecture lesson. the server never had the keys, so getting into the backend left nothing in the vaults to take
136
the line that did all the work today: "Your vault secrets are encrypted with keys that only you hold." so the attacker got names and emails, not passwords.
system design interview: you're building a password manager. what does the server store, and what must it never see?
We’re sharing an update about a recent security incident involving some of 1Password’s backend systems. 𝗡𝗼 𝗰𝘂𝘀𝘁𝗼𝗺𝗲𝗿 𝘃𝗮𝘂𝗹𝘁 𝗰𝗼𝗻𝘁𝗲𝗻𝘁, 𝗶𝗻𝗰𝗹𝘂𝗱𝗶𝗻𝗴 𝘀𝗲𝗰𝗿𝗲𝘁𝘀, 𝗽𝗮𝘀𝘀𝘄𝗼𝗿𝗱𝘀 𝗮𝗻𝗱 𝗼𝘁𝗵𝗲𝗿 𝘃𝗮𝘂𝗹𝘁 𝗶𝘁𝗲𝗺𝘀, 𝗼𝗿 𝘁𝗵𝗲 𝗸𝗲𝘆𝘀 𝘁𝗵𝗮𝘁 𝗽𝗿𝗼𝘁𝗲𝗰𝘁 𝘁𝗵𝗲𝗺 𝘄𝗲𝗿𝗲 𝗮𝗰𝗰𝗲𝘀𝘀𝗲𝗱 𝗼𝗿 𝗰𝗼𝗺𝗽𝗿𝗼𝗺𝗶𝘀𝗲𝗱 𝗱𝘂𝗿𝗶𝗻𝗴 𝘁𝗵𝗶𝘀 𝗶𝗻𝗰𝗶𝗱𝗲𝗻𝘁. We have confirmed that all customer vaults and credentials remain secure. Our services continue operating normally.
Independent cybersecurity experts have been engaged to validate our containment approaches and remediation efforts.
While we took immediate steps to contain the incident, the attacker gained access to some of our backend systems and accessed a limited amount of customer account information from a subset of our customers, including names and email addresses.
No action is required by customers, their 1Password accounts remain secure. As always, please keep alert to unexpected phishing attempts.
Your vault secrets are encrypted with keys that only you hold, so we can’t access them, and they cannot be retrieved from our systems.
You can read more about the steps we’ve taken on our blog at: 1password.com/blog/update-on…
2
112
Replying to @AKirtesh
"do we still need to hire for this?" is the scariest line in there. layoffs make the news. the roles that quietly never get opened don't, and that's the part job hunters actually feel
1
142








