[PR #965] [CLOSED] Optimised function for tower of hanoi #1502

Open
opened 2026-01-29 15:21:34 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/TheAlgorithms/C/pull/965
Author: @07abhi9av
Created: 9/29/2022
Status: Closed

Base: masterHead: patch-1


📝 Commits (2)

  • 5ab14b3 Optimised function for tower of hanoi
  • ed12f12 Update 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.

## 📋 Pull Request Information **Original PR:** https://github.com/TheAlgorithms/C/pull/965 **Author:** [@07abhi9av](https://github.com/07abhi9av) **Created:** 9/29/2022 **Status:** ❌ Closed **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (2) - [`5ab14b3`](https://github.com/TheAlgorithms/C/commit/5ab14b37f2b0b75b51bd3f67a9e660cfafc1104a) Optimised function for tower of hanoi - [`ed12f12`](https://github.com/TheAlgorithms/C/commit/ed12f12188519fe20d2d4f78f52becd4d2c89ec7) Update tower_of_hanoi.c ### 📊 Changes **1 file changed** (+9 additions, -17 deletions) <details> <summary>View changed files</summary> 📝 `misc/tower_of_hanoi.c` (+9 -17) </details> ### 📄 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 15:21:34 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#1502