tag:blogger.com,1999:blog-9210025386133363283.post2073670330887238481..comments2023-12-18T02:17:56.198-08:00Comments on Modern JavaScript: Breaking it down with algoritms I: the round tablerhysbrettbowenhttp://www.blogger.com/profile/05642824819846878549noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-9210025386133363283.post-31108934936737049042013-11-07T11:24:25.548-08:002013-11-07T11:24:25.548-08:00This is a special case of the Josephus problem. ht...This is a special case of the Josephus problem. http://en.wikipedia.org/wiki/Josephus_problem. A simple dynamic programming algorithm for the general case is given on the wiki page. Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-9210025386133363283.post-14625164821246691232012-09-12T16:59:05.894-07:002012-09-12T16:59:05.894-07:00The solution 3 is probably missing a while (chairA...The solution 3 is probably missing a while (chairArr.length > 1)<br /><br />Overall it was nice experience reading this. Thank you.Anonymoushttps://www.blogger.com/profile/02474845804785562145noreply@blogger.com