The Two Envelopes Paradox: When Expected Value Betrays You
6 min read You are presented with two indistinguishable envelopes. You are told that one contains twice as much money as the other. […] Read article
// famous-interview-questions
The cultural canon of tech and Wall Street interview questions: brainteasers, coding classics, and behavioral set-pieces that shaped how candidates are evaluated.
6 min read You are presented with two indistinguishable envelopes. You are told that one contains twice as much money as the other. […] Read article
6 min read Implement atoi: a function that converts a string to a signed 32-bit integer. This is LeetCode 8, and it is Read article
6 min read You are interviewing candidates for a job. There are n candidates total. You interview them one at a time, in Read article
5 min read Given an array of non-negative integers where each element represents the height of a vertical line on the x-axis, find Read article
5 min read “Sell me this pen.” Jordan Belfort holds it out at the end of The Wolf of Wall Street (2013), and Read article
6 min read In late 2024, a senior frontend engineer who had interviewed at Lyft posted a Twitter thread describing his loop. He Read article
6 min read You flip a fair coin repeatedly. What is the expected number of flips until you see the pattern HT? And Read article
8 min read “Why are you leaving your current job?” is the behavioral question that asks for honesty without actually inviting it. The Read article
9 min read Tech interviewing has gone through three distinct eras over the last 30 years, each defined by the format that dominated Read article
6 min read You have a biased coin that comes up heads with probability p and tails with probability 1-p, where p is Read article
7 min read Given an array of heights representing a histogram, find the area of the largest rectangle that fits entirely within the Read article
7 min read “Where do you see yourself in five years?” is the behavioral question in soft decline. For most of the 1990s Read article
7 min read Cracking the Coding Interview by Gayle Laakmann McDowell, first published in 2008, is the most influential book in the history Read article
8 min read “Tell me about a time you failed” is the hardest behavioral question in the standard interview canon. It demands the Read article
7 min read Given two sorted arrays of sizes m and n, find the median of the combined sorted array in O(log(m+n)) time. Read article
What's missing, wrong, or worth adding? One line helps.
Sent — thank you. We read every one.