-
Notifications
You must be signed in to change notification settings - Fork 3.9k
[Edit] General: Quick Sort #6642
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| **Algorithm** | **Best-Case Time Complexity** | **Average-Case Time Complexity** | **Worst-Case Time Complexity** | **Space Complexity** | | ||
| --------------- | ----------------------------- | -------------------------------- | ------------------------------ | -------------------- | | ||
| **Quick Sort** | O(n log n) | O(n log n) | O(n²) | O(log n) | | ||
| **Merge Sort** | O(n log n) | O(n log n) | O(n log n) | O(n) | | ||
| **Heap Sort** | O(n log n) | O(n log n) | O(n log n) | O(1) | | ||
| **Bubble Sort** | O(n) | O(n²) | O(n²) | O(1) | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh this is a nice addition :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀
👋 @Sriparno08 🎉 Your contribution(s) can be seen here: https://www.codecademy.com/resources/docs/general/algorithm/quick-sort Please note it may take a little while for changes to become visible. |
Description
Edited the existing term entry on
Quick Sort
in General.Issue Solved
Closes #6499
Type of Change
Checklist
main
branch.Issues Solved
section.