Skip to content
#

hactoberfest

Here are 720 public repositories matching this topic...

FazeelUsmani
FazeelUsmani commented Oct 8, 2020

Given an array A of random integers and an integer k, find and return the kth largest element in the array.
Try to do this question in less than O(nlogn) time.
Input Format :

Line 1 : An integer N i.e. size of the array
Line 2 : N integers which are elements of the array, separated by spaces
Line 3 : An integer k

Output Format :

kth largest element

Input Constraints :
1 <= N, Ai,

akshitagupta15june
akshitagupta15june commented Sep 27, 2020

We all know Hacktoberfest will be starting from 1st October 2020.

Hacktoberfest is a celebration open to everyone in our global community.
Pull requests can be made in any GitHub-hosted repositories/projects.

Four valid pull requests (PRs) between October 1-31 (in any time zone) are required in this open source celebration.
If a maintainer reports your pull request as sp

Improve this page

Add a description, image, and links to the hactoberfest topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the hactoberfest topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.