Posted by: Kiddo June 11, 2014
NEW PUZZLE for Sajha Intellects Day 6
Login in to Rate this Post:     0       ?        
Couple of observations:

1. RamroNepal, I am afraid you are wrong. Serial has already listed all the numbers that get eliminated and showed that 1 survives. Let's think about it logically. You are suppose to take the second number out that survived. What happens is when you go round, you start eliminating every other numbers and then end at the highest number left. Then you start your count again from 1 and eliminate the second number. You see, 1 always comes as the first number during these iterations and survives every single time until the end.

2. I am very impressed with Helpjava and Nas' programming skills. This is a very simple programming, but I know lots of people working in IT as developer cannot write this simple code. They lie on their resume and force things up. It is not too hard to learn programming. If you are considering a career in IT, specifically as a programmer or developer, please learn the basic programming. I like how both of them have used the correct logic sequence and indented the code to make it easy to read. I am sure if they had more time, they'd have added some comments next to the critical functions. Impressed.
Read Full Discussion Thread for this article