AlgoGenesis / C

AlgoGenesis is a centralized open-source platform dedicated to providing optimized and well-documented algorithm implementations in C. Perfect for both beginners and advanced users, this repository serves as a comprehensive learning resource for solving algorithmic challenges.
MIT License
91 stars 302 forks source link

[NEW ALGORITHM] Kth largest element in an array #1716

Open Dipanita45 opened 1 day ago

Dipanita45 commented 1 day ago

Issue will be closed if:

1) You mention more than one algorithm. You can create a separate issue for each algorithm once the current one is completed.
2) You propose an algorithm that is already present or has been mentioned in a previous issue.
3) You create a new issue without completing your previous issue.

Note: These actions will be taken seriously. Failure to follow the guidelines may result in the immediate closure of your issue.


Name:

[NEW ALGORITHM] Kth largest element in an array

About:

Given an integer array nums and an integer k, return the kth largest element in the array.

Note that it is the kth largest element in the sorted order, not the kth distinct element.


Labels:

new algorithm, gssoc-ext, hacktoberfest, level1


Assignees:

Please assign me this issue @pankaj-bind

Dipanita45 commented 10 hours ago

Please assign me this issue @pankaj-bind

pankaj-bind commented 2 hours ago

assigned