MENU

Fun & Interesting

Interview questions & puzzles: Ep2 - The 2 Egg Problem, A Puzzle for Testers, and Architects

Video Not Working? Fix It Now

Welcome to a deep dive into one of the most fascinating logic puzzles in engineering and algorithm design: **The Two Egg Problem**. This isn’t just a puzzle — it’s a masterclass in decision-making under constraints, testing strategy, and optimization thinking. Whether you're prepping for tech interviews or building resilient systems, this video will reshape how you think. ? What you’ll learn: ? What is the 2 Egg Problem ? Why it’s more than a brain teaser ? Naive vs optimized testing approaches ? How triangular numbers help us minimize worst-case steps ? Visual strategy breakdown ?️ Applications in software testing and system limits ? Real-world use cases: API RPS, file uploads, concurrency ? Generalizing for K eggs and N floors ⏱️ Timestamps 00:00 Introduction 01:10 The Two Egg Problem Statement 04:23 Real-world relevance 09:13 Naive linear solution 12:08 Enter triangular numbers with Real World Examples 23:33 Binary search vs linear intuition (Software) 25:02 Use Case: API request rate 28:06 Use Case: Upload limits 29:44 Use Case: Max concurrent users 30:35 Generalizing to K eggs 31:08 Final thoughts ? Tags Two Egg Problem, Algorithms, Optimization, Engineering Thinking, Software Testing, System Design, Triangular Numbers, Binary Search, Technical Interview, Real-World Applications, José Cruz 2025

Comment