We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
trekhleb
Learn more about funding links in repositories.
Report abuse
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
Instead of this const pivotElement = array.shift(); // O(n)
const pivotElement = array.shift();
we should use const pivotElement = array.pop(); // O(1)
const pivotElement = array.pop();
When taking the pivot as last element 2 test cases are failing.
The text was updated successfully, but these errors were encountered:
Can I work on this issue ?
Sorry, something went wrong.
i would like to take this. can someone assign it to me please?
No branches or pull requests
Instead of this
const pivotElement = array.shift();
// O(n)we should use
const pivotElement = array.pop();
// O(1)When taking the pivot as last element 2 test cases are failing.
The text was updated successfully, but these errors were encountered: