Available question text
Compute the frequency of each value in the array and return the largest integer whose frequency equals its value (a "lucky" integer); return -1 if no such integer exists.
Related questions
Continue with questions that share topics or the same question type.
- Find the Integer Added to Array I
Coding
- Find the Integer Added to Array II
Coding
- Find the Kth Largest Integer in the Array
Coding
- Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and return its sum. Walk through Kadane's algorithm and explain the O(n) approach.
Coding
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 1394. Find Lucky Integer in an Array
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source