From 0188f816260d8966b2393bd8f3271f9a8fe632cb Mon Sep 17 00:00:00 2001 From: TejashwiC <165808875+TejashwiC@users.noreply.github.com> Date: Tue, 7 Jan 2025 13:10:01 +0530 Subject: [PATCH 1/2] Update kth_largest_element.data structures --- data_structures/arrays/kth_largest_element.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/data_structures/arrays/kth_largest_element.py b/data_structures/arrays/kth_largest_element.py index f25cc68e9b72..2c9aa91856ae 100644 --- a/data_structures/arrays/kth_largest_element.py +++ b/data_structures/arrays/kth_largest_element.py @@ -1,9 +1,3 @@ -""" -Given an array of integers and an integer k, find the kth largest element in the array. - -https://stackoverflow.com/questions/251781 -""" - def partition(arr: list[int], low: int, high: int) -> int: """ From c7da493ab869fda237cd944bdd3c33159ea84284 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 7 Jan 2025 07:42:39 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- data_structures/arrays/kth_largest_element.py | 1 - 1 file changed, 1 deletion(-) diff --git a/data_structures/arrays/kth_largest_element.py b/data_structures/arrays/kth_largest_element.py index 2c9aa91856ae..ca7743db0b5b 100644 --- a/data_structures/arrays/kth_largest_element.py +++ b/data_structures/arrays/kth_largest_element.py @@ -1,4 +1,3 @@ - def partition(arr: list[int], low: int, high: int) -> int: """ Partitions list based on the pivot element.