OpenGenus/cosmos

Quickselect - Selection Algorithm

Open

#640 opened on Oct 5, 2017

View on GitHub
 (2 comments) (0 reactions) (0 assignees)C++ (3,724 forks)batch import
Hacktoberfestadd codenew algorithm

Repository metrics

Stars
 (13,462 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

https://en.wikipedia.org/wiki/Quickselect This is a selection algorithm used to find the kth smallest element in an unordered list. I'll add the implementation in C++.

Contributor guide