You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there something wrong with my code that fails to meet the requirements? I believe that my solution sorts the list correctly.
Given a list of key-value pairs, sort the list by key using Quick Sort. For each partitioning step:
Use the right-most element as the pivot.
Elements less than the pivot should be placed to the left of the pivot, and elements greater than or equal to the pivot should be placed to the right of the pivot.
The text was updated successfully, but these errors were encountered:
Bug Report for https://neetcode.io/problems/quickSort
The exercise is telling me that my submission is wrong.My solution is also "stable" unintentionally. Here is my code for quick sort:
Is there something wrong with my code that fails to meet the requirements? I believe that my solution sorts the list correctly.
The text was updated successfully, but these errors were encountered: