ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

Towers of Hanoi using RECURSION TWICE!

Автор: Easy Theory

Загружено: 2020-08-24

Просмотров: 591

Описание: Here we look at the "Towers of Hanoi" problem, which involves using recursion twice. We have to move n cylinders of different sizes from one peg to another, utilizing a third one if necessary, and such that no "bigger" cylinder is on top of a smaller cylinder at any point. What we can do is to define inductive cases really easily, and then solve the whole problem by just relating the two recursive "moves" of n-1 cylinders to each other.

An example worked out is here:    • Towers of Hanoi EXAMPLE  

#easytheory #gate #theory

Contribute:
Donation (appears on streams): https://streamlabs.com/easytheory1/tip
Paypal: https://paypal.me/easytheory
Patreon:   / easytheory  
Discord:   / discord  

Youtube Live Streaming (Sundays) - subscribe for when these occur.

Social Media:
Facebook Page:   / easytheory  
Facebook group:   / easytheory  
Twitter:   / easytheory  

Merch:
Language Hierarchy Apparel: https://teespring.com/language-hierar...
Pumping Lemma Apparel: https://teespring.com/pumping-lemma-f...

If you like this content, please consider subscribing to my channel:    / @easytheory  

Gold Supporters: Micah Wood
Silver Supporters: Timmy Gy

▶SEND ME THEORY QUESTIONS◀
[email protected]

▶ABOUT ME◀
I am a professor of Computer Science, and am passionate about CS theory. I have taught many courses at several different universities, including several sections of undergraduate and graduate theory-level classes.

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Towers of Hanoi using RECURSION TWICE!

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

Merge Sort, Explained

Merge Sort, Explained

Solving Wordle using information theory

Solving Wordle using information theory

Towers of Hanoi: A Complete Recursive Visualization

Towers of Hanoi: A Complete Recursive Visualization

Теорема Байеса, геометрия изменения убеждений

Теорема Байеса, геометрия изменения убеждений

But what is quantum computing?  (Grover's Algorithm)

But what is quantum computing? (Grover's Algorithm)

Tracing of Recursive Calls in Tower of Hanoi

Tracing of Recursive Calls in Tower of Hanoi

The Unreasonable Effectiveness of JPEG: A Signal Processing Approach

The Unreasonable Effectiveness of JPEG: A Signal Processing Approach

Черная дыра Зе

Черная дыра Зе

АЛЕКСАШЕНКО:

АЛЕКСАШЕНКО: "Уже скоро!": под чем Путин, ЛУКОЙЛ, под кем Сечин, свадьба Кадырова, с чем Потанин

Fourteen DFA Examples? No Problem!

Fourteen DFA Examples? No Problem!

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]