Pacific Blue Software Logo

Download the file : vcl-last-gunman-standing

VCL Last Gunman Standing


Updated : 30 Jul 2022
Downloads : 17

Code for the puzzle `Last Gunman Standing`.



The question is: There are n number of people standing in a circle. The first person has a gun and he kills the very next person who is alive and hands over the gun to the next person. Who will remain?

This contains full source for two projects using a TList and TQueue.


It is not copyright in any way


These links expire in one hour. Refresh the screen to extend the time.

Windows


Windows