Easy Solution to the Tower of Hanoi, Hack Hanoi

Поделиться
HTML-код
  • Опубликовано: 15 ноя 2024

Комментарии • 21

  • @duanedonaldson2262
    @duanedonaldson2262 3 года назад +4

    With 3 discs, the idea is to move the discs to the last peg, not just any peg. We start at the source peg, the center is the aux peg and the last peg is the destination peg. In your case, you can call this a rule or a goal. Programming algorithms are more strict than what you have mentioned in the video. I like your ODD and EVEN number of peg moves, that algo can be reversed to arrive at my first statement. If you want to show a circle-type move, you can make a game board with the pegs in a triangle shape. Thanks so much.

    • @ColfaxMath
      @ColfaxMath  3 года назад

      Great feedback thank you

  • @PokeShadow77
    @PokeShadow77 3 года назад +5

    This video is surprisingly relaxing to listen

  • @BlaZePlayZeYT
    @BlaZePlayZeYT 2 года назад +5

    Can we transfer A to B, u did that right sir, but when I saw the rule in Google, they showed we have to transfer from A to C, the one u did is A to B, is that also right sir???? Ur explanation is soo good and easy thx for the tutorial

    • @ColfaxMath
      @ColfaxMath  2 года назад +1

      Yes, there are multiple ways to do this problem. Thank you

    • @BlaZePlayZeYT
      @BlaZePlayZeYT 2 года назад +1

      @@ColfaxMath thank u so much sir🙏🏻🙏🏻🙏🏻I really learned today to solve it

  • @dariuscarter5302
    @dariuscarter5302 2 года назад +3

    do you automatically use the odd and even rule or trick on the largest number of discs in that row?

    • @ColfaxMath
      @ColfaxMath  2 года назад +1

      You don't have to, I like it to show how you can create an algorithm to solve

  • @NorrisAviation
    @NorrisAviation Месяц назад +1

    On number five for the smallest plate why did you only go one

  • @DaleC1980
    @DaleC1980 3 месяца назад +1

    I am confused by the terminology here. Shouldn’t it be a minimum number of “moves” not “ways”?

  • @adamhughes2228
    @adamhughes2228 2 года назад +3

    The objective is to get them to the other side not the middle…

  • @jovelfaithjoypedro5432
    @jovelfaithjoypedro5432 3 года назад +2

    odd 1
    even 2

  • @kyletree713
    @kyletree713 Год назад +1

    Don't get how this has anything to do with math instead of saying you CAN use math like many other things to solve it

    • @ColfaxMath
      @ColfaxMath  Год назад +1

      Math is all about patterns

  • @Saif-G1
    @Saif-G1 15 дней назад +1

    You should get the tower to the third one
    You are way is wrong i have an easy way to solve it with to roles