Live Online Classes in Design, Coding & AI — Small Classes, Free Retakes
The Fastest Way to Become a Backend Developer Online
Overview
Google, IBM & Meta Certificates – 40% Off
One plan covers every Professional Certificate on Coursera.
Unlock All Certificates
Explore a famous technical interview and Mathematical Olympiad problem involving batteries and a flashlight in this 18-minute video. Learn how to determine the minimum number of tests required to find two working batteries among a set of four good and four bad ones. Follow along as the video breaks down the problem, provides initial estimates, and presents two different strategies for solving it. Gain insight into the optimal solution and understand the mathematical proof behind it. Enhance your problem-solving skills and logical thinking as you tackle this challenging puzzle used in technical interviews and competitive mathematics.
Syllabus
problem
estimate
strategy 1
strategy 2
solution
proof
Taught by
MindYourDecisions