I am trying to write code for the Tower of Hanoi problem. But I keep getting index out of range error in my slice inside the recursive function call. What am I doing wrong with my code?

package main import ( “fmt” ) func move(n int, source, target, auxiliary []int) { if n...

Read More