圆圈上顺时针排列着1,2,3,....2000 这2000个数. 从1开始,顺时针隔一个拿走一个(1最先被拿走,下一个是3). 问最后剩下是哪一个数字.
http://spellscroll.com/questionfull/219/
A collection of all kinds of technical interview questions (programming, algorithm, probability, brainteaser, mathematics, etc.) from various companies (google, microsoft, yahoo, etc.)
圆圈上顺时针排列着1,2,3,....2000 这2000个数. 从1开始,顺时针隔一个拿走一个(1最先被拿走,下一个是3). 问最后剩下是哪一个数字.