CodeChefMUST / Algorithms

A repository by Codechef@MUST for data structures and algorithms
MIT License
20 stars 45 forks source link

K’th Smallest/Largest Element in Unsorted Array #173

Open ishasharma7 opened 3 years ago

ishasharma7 commented 3 years ago

Kindly assign this issue to me. It'll be solved using Heap sort(Max-heap) & the language used is C++

Taneesha-creates commented 3 years ago

Hello @ishasharma7, this issue has now been assigned to you. No more contributors needed at the moment.

Important:

Before you start your work on this issue, make sure you go through the README.md and Contribution Guidelines.md

File structure:

  1. In the Sorting directory, navigate to the sub-directory Heap Sort.
  2. Create the C++ directory in the Heap Sort directory.
  3. Create the file KthLargestSmallestElement.cpp.

Here's how the final structure should look like:

Additionally, in the algorithm.md file, add the problem statement under the heading : Questions

Please follow the same naming conventions as mentioned.

Before you create a pull request, make sure you perform git pull in your forked repository so that your repo stays updated.

Note that all PRs are being checked for plagiarism, please refrain from indulging in any crooked means, we trust you!

We thank you for your contribution and time and we hope that you enjoy contributing to open source.

vanshpatelx commented 2 years ago

I want to contribute , please assign me