Solving the Locker Riddle as explained on the TED-Ed YouTube video
C#MIT
The Locker Riddle
This simple .NET Core code was written to solve the Locker Riddle as explained on the TED-Ed YouTube video called Can you solve the locker riddle? - Lisa Winer.
Feel free to suggest improvements to the algorithm.