Median of Two Sorted Arrays: Binary Search’s Nastiest Cousin
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
The cultural canon of tech and Wall Street interview questions: brainteasers, coding classics, and behavioral set-pieces that shaped how candidates are evaluated. Stories of how each question rose to fame, what it actually tests, and whether it is still asked in 2026.
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
7 min read One hundred prisoners are sent to solitary cells. Each day, a guard picks one prisoner uniformly at random — possibly Read article
7 min read A family has two children. At least one of them is a boy. What is the probability that both are Read article
7 min read Given an array of non-negative integers representing an elevation map where the width of each bar is 1, compute how Read article
7 min read Every interview starts the same way. The hiring manager joins the call, exchanges 30 seconds of small talk, and then Read article
7 min read On June 19, 2013, Adam Bryant of the New York Times published an interview with Laszlo Bock, then Google‘s Senior Read article
7 min read Five rational pirates capture 100 gold coins. They have to divide the loot using a strict procedure. The most senior Read article
7 min read For a stretch of about ten years from the mid-1990s through the mid-2000s, the manhole cover question was the most Read article
6 min read “How would you move Mount Fuji?” is the title brainteaser of the era, in the literal sense — William Poundstone Read article
6 min read Three ants sit on the corners of an equilateral triangle. Each ant simultaneously picks one of the two adjacent corners Read article
9 min read Some interview questions stop being questions and become culture. They show up in books, in tweets, in comedy bits about Read article
6 min read FizzBuzz is the only interview question that has become a meme outside of programming. People who do not write code Read article
7 min read In June 2015, Max Howell — the creator of Homebrew, the package manager that 90% of Mac developers used to Read article