Skip to content

Commit

Permalink
Update sorting/quick_sort.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: realstealthninja <[email protected]>
  • Loading branch information
jiya10208 and realstealthninja authored Oct 20, 2024
1 parent 6b27c2f commit 576fce6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sorting/quick_sort.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ namespace quick_sort {
* @param high last point of the array (ending index)
* @returns index of the smaller element
*
* Time Complexity
* ### Time Complexity
* best case, average Case: O(nlog(n))
* Worst Case: O(n^2) (Worst case occur when the partition
* is consistently unbalanced.)
Expand Down

0 comments on commit 576fce6

Please sign in to comment.