Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

The Famous Batteries and Flashlight Logic Puzzle - Optimal Testing Strategy

MindYourDecisions via YouTube

Overview

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

Reviews

Start your review of The Famous Batteries and Flashlight Logic Puzzle - Optimal Testing Strategy

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.