[PR #9] [MERGED] Optimizing the algorithm, and improving the array filling #218

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

📋 Pull Request Information

Original PR: https://github.com/TheAlgorithms/C/pull/9
Author: @alaouimehdi1995
Created: 4/4/2017
Status: Merged
Merged: 4/4/2017
Merged by: @dynamitechetan

Base: masterHead: master


📝 Commits (1)

  • 382f084 Optimizing the algorithm, and improving the array filling

📊 Changes

1 file changed (+39 additions, -36 deletions)

View changed files

📝 BubbleSort.c (+39 -36)

📄 Description

1- The array filling is done dynamically using realloc() function
2- The Algorithm is optimized by remplacing the double for loops with a for inside a while loop


🔄 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/9 **Author:** [@alaouimehdi1995](https://github.com/alaouimehdi1995) **Created:** 4/4/2017 **Status:** ✅ Merged **Merged:** 4/4/2017 **Merged by:** [@dynamitechetan](https://github.com/dynamitechetan) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`382f084`](https://github.com/TheAlgorithms/C/commit/382f08483417ef8d1cbc6e23e3654d4a58daddb7) Optimizing the algorithm, and improving the array filling ### 📊 Changes **1 file changed** (+39 additions, -36 deletions) <details> <summary>View changed files</summary> 📝 `BubbleSort.c` (+39 -36) </details> ### 📄 Description 1- The array filling is done dynamically using realloc() function 2- The Algorithm is optimized by remplacing the double for loops with a for inside a while loop --- <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:09:59 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#218