Skip to content
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

Condition is not fully correct in quicksort [Python] #436

Closed
5 of 7 tasks
Monal5031 opened this issue Aug 16, 2017 · 1 comment · Fixed by #484
Closed
5 of 7 tasks

Condition is not fully correct in quicksort [Python] #436

Monal5031 opened this issue Aug 16, 2017 · 1 comment · Fixed by #484

Comments

@Monal5031
Copy link
Member

Consider this case arr[k]>arr[i]>arr[j] in which arr[i] should be median but we get arr[k] as median instead.

  • Issue Title is in form Algo/DS Name [Language].
  • I searched or browsed the repo’s other issues to ensure this is not a duplicate.
  • This Algo/DS is worth adding to this repository.
  • Assign this issue to me (I want to work on this).
    • I ensure that I am not already assigned to 2 or more issues.
  • I will send my PR only after I'm assigned to this issue by any maintainer.
  • I understand that I will be unassigned from this issue if I fail to send a PR for this within a week.
@j-haj
Copy link
Contributor

j-haj commented Oct 2, 2017

I'm happy to take a look at this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants