Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Java Solution: Kth Largest Element in an Array#222

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
neetcode-gh merged 2 commits intoneetcode-gh:mainfromGauravVarshikar:main
Jun 9, 2022

Conversation

@GauravVarshikar
Copy link
Contributor

Solved using Min Heap data structure in Java
LeetCode result: Runtime: 7 ms, faster than 45.05% of Java online submissions for Kth Largest Element in an Array.
Memory Usage: 45.5 MB, less than 13.98% of Java online submissions for Kth Largest Element in an Array.

Solution of Kth Largest Element in an array using a heapLeetcode result: Runtime: 7 ms, faster than 45.05% of Java online submissions for Kth Largest Element in an Array.Memory Usage: 45.5 MB, less than 13.98% of Java online submissions for Kth Largest Element in an Array.
Create 215-Kth-Largest-Element-in-an-Array.java
@neetcode-ghneetcode-gh merged commit393923e intoneetcode-gh:mainJun 9, 2022
@GauravVarshikar
Copy link
ContributorAuthor

GauravVarshikar commentedJun 9, 2022
edited
Loading

Thank you@neetcode-gh for accepting my solution!
A moment of pride for me as I only recently started actively preparing for DSA questions.
Big fan of your content on Youtube and especially neetcode.io which has helped me a lot in learning DSA in a structured manner.

Keep going on!

thanks,
Gaurav

neetcode-gh added a commit that referenced this pull requestJul 2, 2022
Java Solution: Kth Largest Element in an Array
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@GauravVarshikar@neetcode-gh

[8]ページ先頭

©2009-2025 Movatter.jp