Towers of Hanoi: Difference between revisions

Line 452:
String say(String from, String to) => "$from ---> $to";
 
hanoi(numint height, numint toPole, numint fromPole, numint usePole) {
if (height > 0) {
hanoi(height - 1, usePole, fromPole, toPole);
Anonymous user