mirror of
https://github.com/TheAlgorithms/C.git
synced 2026-02-16 14:05:01 +00:00
[PR #9] Optimizing the algorithm, and improving the array filling #222
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?
Original Pull Request: https://github.com/TheAlgorithms/C/pull/9
State: closed
Merged: Yes
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