Firecode (@firecodeio) header
Firecode (@firecodeio) profile picture

Official X for Firecode. Coding Interview Prep - Done Right. See what the hype is about at https://teapaw.org/t.co/ATzwG2aScM

San Francisco, CA
Joined April 2015
Photo by Firecode (@firecodeio)Photo by Firecode (@firecodeio)Photo by Firecode (@firecodeio)Photo by Firecode (@firecodeio)Photo by Firecode (@firecodeio)Photo by Firecode (@firecodeio)Photo by Firecode (@firecodeio)Photo by Firecode (@firecodeio)Photo by Firecode (@firecodeio)Photo by Firecode (@firecodeio)
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
107
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
8
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
77
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…
1
77
interviewer: design Twitter me: in 45 minutes? they've had 20 years
33
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
56
SQL, no running it first: table t has 5 rows. 2 of them have email = NULL. SELECT COUNT(*), COUNT(email) FROM t; what comes back?
34
system design interviewer: "ok, and what happens at scale?" me: "uh" Microsoft, 24 hours into a global outage from a scalability bug: also "uh"
91
got laid off after 6 years of shipping production code? the interview loop doesn't care. it wants Merge Intervals in 20 minutes with a stranger watching. annoying, but very fixable
95
Interviewer: "Reverse a linked list." Me: finally, one I know. Interviewer: "Great. Now reverse it in groups of k."
1
92
System design interview: Your ticketing site sells the same seat to two people during a big concert drop. Where's the bug, and what do you change?
1
77
Replying to @itsmeMehak_
Insurance adjusters are AI bulletproof imo
15
15 minutes left. your solution works but it's O(n²). do you try to optimize or spend the time on edge cases?
68
Java, no running it first: Integer a = 127, b = 127; Integer c = 128, d = 128; System.out.println(a == b); System.out.println(c == d); What prints?
67
Replying to @_SoulBurn
the years weren't for nothing, the loop just grades a different skill than the job did. 45 min of Merge Intervals with a stranger watching. dumb, but a few weeks of reps and it's yours again
1
6
Replying to @yashmp2004
2000+ LeetCode problems…is the problem
2
1,170
Replying to @coryalthoff
🙋‍♂️
1
129
Every bracket in {[(])} has its pair, and the string is still invalid. Counting brackets can't catch it. The bracket opened last has to close first, and that's exactly what a stack does.
1
49
if the team is on the infra or hardware side, spend as much time on how a machine actually runs your code as on LeetCode. which team are you interviewing with?
1
12