Solve(N, Src, Aux, Dst)if N is 0 returnSolve(N-1, Src, Dst, Aux)Move N from Src to DstSolve(N-1, Aux, Src, Dst)