mirror of
https://github.com/TheAlgorithms/C.git
synced 2026-02-13 21:42:29 +00:00
[PR #965] [CLOSED] Optimised function for tower of hanoi #1502
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/TheAlgorithms/C/pull/965
Author: @07abhi9av
Created: 9/29/2022
Status: ❌ Closed
Base:
master← Head:patch-1📝 Commits (2)
5ab14b3Optimised function for tower of hanoied12f12Update tower_of_hanoi.c📊 Changes
1 file changed (+9 additions, -17 deletions)
View changed files
📝
misc/tower_of_hanoi.c(+9 -17)📄 Description
Description of Change
I have shortened the lines of code for the tower of hanoi function.
I've also added the commented lines for the better understanding of the code.
This code has been completely created by me.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.