1/4
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
Bubble Sort
Best: O(n), Average: O(n2), Worst: O(n2), Space Complexity: O(1), Stable: Yes, Best Use Cases: Small datasets, educational purposes
Selection Sort
Best: O(n2), Average: O(n2), Worst: O(n2), Space Complexity: O(1), Stable: No, Best Use Cases: Small datasets, memory-constrained environments
Insertion Sort
Best: O(n), Average: O(n2), Worst: O(n2), Space Complexity: O(1), Stable: Yes, Best Use Cases: Small or partially sorted datasets
Merge Sort
Best: O(nlogn), Average: O(nlogn), Worst: O(nlogn), Space Complexity: O(n), Stable: Yes, Best Use Cases: Large datasets, linked lists
Quick Sort
Best: O(nlogn), Average: O(logn), Worst: O(n2), Space Complexity: O(nlogn), Stable: No, Best Use Cases: In-memory sorting, general-purpose