MCPcopy Create free account
hub / github.com/CCCshengjiang/algorithm / main

Method main

data-structure-algorithm/src/cn/cwblue/dp/Hanoi.java:9–11  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

7 */
8public class Hanoi {
9 public static void main(String[] args) {
10 hanoi(3);
11 }
12
13 public static void hanoi(int n) {
14 if (n == 0) {

Callers

nothing calls this directly

Calls 1

hanoiMethod · 0.95

Tested by

no test coverage detected