Towers of Hanoi
If you've gone through the tutorial on recursion, then you're ready to see another problem where recursing multiple times really helps. It's called the Towers of Hanoi. You are given a set of three pegs and
Create a free account to access the full course.
By signing up, you agree to Educative's Terms of Service and Privacy Policy