---
title: "#kth-largest-element articles | Hashnode"
description: "Explore 2 articles tagged #kth-largest-element on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/kth-largest-element"
---

Tag

# #kth-largest-element

2 posts · 0 followers

[Pankaj Kholiya](https://hashnode.com/@Itspankaj) · [Nov 26, 2024](https://hashnode.com/posts/finding-the-largest-element-in-an-array/67459d82d97436b2cb6a8983)

### [Finding the Largest Element in an Array](https://datatype.hashnode.dev/finding-the-largest-element-in-an-array?utm_source=hashnode&utm_medium=feed)

Finding the Largest Element in an Array

2 min read · [datatype.hashnode.dev](https://datatype.hashnode.dev/finding-the-largest-element-in-an-array?utm_source=hashnode&utm_medium=feed)

[Vineeth Chivukula](https://hashnode.com/@vineethchivukula) · [Jul 10, 2024](https://hashnode.com/posts/solving-kth-largest-element-in-an-array/668e7ef451333a704ec21b3f)

### [Solving Kth Largest Element in an Array](https://vineethchivukula.hashnode.dev/solving-kth-largest-element-in-an-array?utm_source=hashnode&utm_medium=feed)

To see the question, click here. Naive Approach To find the kth largest element, we can first sort the array and then return the nums.length - k th element. // TC: O(nlogn) // SC: O(1) import java.util.Arrays; class KthLargestElement { public ...

5 min read · [vineethchivukula.hashnode.dev](https://vineethchivukula.hashnode.dev/solving-kth-largest-element-in-an-array?utm_source=hashnode&utm_medium=feed)
