c++ - Tower of Hanoi - n peg solution algorithm - Stack Overflow

c++ - Tower of Hanoi - n peg solution algorithm - Stack Overflow

瀏覽:764
日期:2025-05-05
I was implementing the tower of hanoi problem to understand more about recursion. I was able to implement it using the 3 peg case, however, when I wanted to use more pegs (to ......看更多