cyberbuddy-io / open-source-contribution-for-beginners

This repository targets beginners to guide them about open source and help them make their first contribution.
https://opensource.cyberbuddy.live/contributors/
MIT License
95 stars 168 forks source link

i have to add the comparision of differrent sorting algorithms . #431

Open AishwaryJain07 opened 10 months ago

AishwaryJain07 commented 10 months ago
Algorithm Time Complexity Space Complexity Stability Best Case Average Case Worst Case
Bubble Sort O(n) O(1) Yes O(n) O(n^2) O(n^2)
Selection Sort O(n^2) O(1) No O(n^2) O(n^2) O(n^2)
Insertion Sort O(n) - O(n^2) O(1) Yes O(n) O(n^2) O(n^2)
Merge Sort O(n log n) O(n) Yes O(n log n) O(n log n) O(n log n)
Quick Sort O(n log n) - O(n^2) O(log n) No O(n log n) O(n log n) O(n^2)
Heap Sort O(n log n) O(1) No O(n log n) O(n log n) O(n log n)
Counting Sort O(n + k) O(n + k) Yes O(n + k) O(n + k) O(n + k)
Radix Sort O(d * (n + k)) O(n + k) Yes O(d * n) O(d * n) O(d * n)
Bucket Sort O(n^2) (average) O(n + k) Yes O(n^2) O(n^2) O(n^2)
github-actions[bot] commented 10 months ago

Hey Contributor! You can start working on the issue. Good luck! Please comment "/assign" to get this issue assigned to you.

AishwaryJain07 commented 10 months ago

/assign

github-actions[bot] commented 10 months ago

This issue has been assigned to @AishwaryJain07! It will become unassigned if it isn't closed within 7 days. A maintainer can also add the pinned label to prevent it from being unassigned.

github-actions[bot] commented 10 months ago

@AishwaryJain07, this issue hasn't had any activity in 4 days. It will become unassigned in 3 days to make room for someone else to contribute.