...

/

Challenge 3: Find the k Largest Elements in an Array

Challenge 3: Find the k Largest Elements in an Array

Try to solve the Find K Largest Elements in an Array problem.

Statement

Given an array of integers, nums, and a positive integer, k, find the k largest elements in the array.

Constraints:

  • 11 \leq k ...