6월 16, 2022

백준 11729번 풀이

문제 하노이의 탑에서 이동 경로와 최종 이동 횟수를 출력하시오. (입력: 원판 개수) Reference https://ko.wikipedia.org/wiki/하노이의_탑 (하노이의 탑) https://shoark7.github.io/programming/algorithm/tower-of-hanoi (‘하노이의 탑’ 이해하기) https://8iggy.tistory.com/100 (재귀 함수 – 하노이의 탑) https://soohyun6879.tistory.com/m/190 ([백준/Python] 하노이 탑...

Continue reading...