Hey, I know...I know...I should be able to do this is third year computer science. But I can't and I feel like an idiot so help me!!
I need help starting a solution to solve a towers of hanoi problem using iteration. I got the recursion down pat but iteration is screwing me over here. I just can't wrap my head around it.
I know there is a different pattern based on if (sizeOfTower % 2 == 0) {} else {} and i know there is 2^n -1 moves that need to be done but I just cant seem to get this pattern down.
Any help JSP?