Join our Hacktoberfest initiative and contribute to open-source programming and data structures & algorithms projects. It's a great opportunity for beginners to learn and grow. Let's build a stronger community together.
MIT License
6
stars
14
forks
source link
Feature Request: Implement Selection Sort Algorithm using C #28
Selection Sort
Selection Sort is a comparison-based sorting algorithm. It sorts an array by repeatedly selecting the smallest (or largest) element from the unsorted portion and swapping it with the first unsorted element. This process continues until the entire array is sorted.
📈 Benefits
Requires only a constant O(1) extra memory space.
It requires less number of swaps (or memory writes) compared to many other standard algorithms. Only cycle sort beats it in terms of memory writes. Therefore it can be simple algorithm choice when memory writes are costly.
🛠️ Suggested Implementation (Optional)
No response
📷 Screenshots
No response
✔️ Checklist
[X] I have checked the existing issues to avoid duplicates.
🔖 Feature Description
Selection Sort Selection Sort is a comparison-based sorting algorithm. It sorts an array by repeatedly selecting the smallest (or largest) element from the unsorted portion and swapping it with the first unsorted element. This process continues until the entire array is sorted.
📈 Benefits
🛠️ Suggested Implementation (Optional)
No response
📷 Screenshots
No response
✔️ Checklist
📝 Additional Notes (Optional)
pls assign this issue to me