2 ms·
- Put the undergarment somewhere in the room - Divide the room in two: one half that contains the undergarment and the other half - Go in the middle of the ro
by S4M 14y ago
- Put the undergarment somewhere in the room
- Divide the room in two: one half that contains the undergarment and the other half
- Go in the middle of the room
- Close your eyes and spin for a while. Then, count one if you are facing the part of the room that contains the undergarment and 0 otherwise
- Reiterate previous step as many times as necessary to build an integer (by binary writing).
Was this an interview question?