All Stories published by 100 days of algorithms on May 24, 2017

Day 61: Hanoi Tower (II)

Let’s solve Hanoi tower once again. Unlike day 1, the problem is slightly different today.

In an optimal game (with the least number of moves), find how many moves have been played given towers’ configuration. And conversely, given towers’ configuration find

About
100 days of algorithms
100 days, 100 algorithms - a challenge consisting of many small pieces
More information
Tags
Editors