mirror of
https://github.com/TheAlgorithms/C.git
synced 2026-02-16 05:55:12 +00:00
[PR #9] [MERGED] Optimizing the algorithm, and improving the array filling #218
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/9
Author: @alaouimehdi1995
Created: 4/4/2017
Status: ✅ Merged
Merged: 4/4/2017
Merged by: @dynamitechetan
Base:
master← Head:master📝 Commits (1)
382f084Optimizing 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.