kelseypedersen / circleofchairs Goto Github PK
View Code? Open in Web Editor NEWAn algorithm problem solved in Objective-C. If you have a circle of chairs, and skip the first chair, remove the second chair, skip the third chair, etc. continuing in a circle around, and around, the circle. Calculate the survivor chair.