Debugging “Brooklyn 99" riddle — 12 men on an island…

Weiyuan
Big O(n) Development
6 min readJun 5, 2021

--

source: pixabay, author: Mediamodifier

In season 2 episode 18 of “Brooklyn Nine-Nine”, the following brain teaser was asked:

“There are 12 men on an island. 11 weigh exactly the same amount, but one of them is slightly lighter or heavier. You must figure out which. The island has no escapes, but there is a seesaw. The exciting catch? You can only use it three times.”

--

--

Weiyuan
Big O(n) Development

Senior Engineering Manager, Ascenda Loyalty | Former Engineering Manager, Grab | Former Director of Engineering, ZilLearn | bit.ly/weiyuan