Bijay555 / Hacktoberfest-Algorithms

This repository is mainly open to those who are looking to make some PRs for the Hacktoberfest 2020 event. In this repository, you can add programs on some useful algorithms for Competitive Programming in any languages.
47 stars 99 forks source link

Divide-and-conquer algorithm : Algorithm for finding k-th order statistics (random partition, С++) #180

Closed GeorgiyX closed 3 years ago

GeorgiyX commented 3 years ago

Hi. This is not a recursive implementation of the k-order statistics search algorithm. The partition function selects a reference element using randomness.