leetle

Daily challenge for 2025-03-01

60. Kth Largest Element

Write a function solve that finds the kth largest element in an unsorted array.

Example:
Input: [3,2,1,5,6,4], 2
Output: 5

Run this challenge interactively in Python or JavaScript when the app loads.