Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 747. Largest Number At Least Twice of Others
Given an integer array with a unique maximum, determine whether the largest element is at least twice every other element and return its index if so, otherwise return -1. (Equivalently: find the max and verify it is >= 2 * every other number.)
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.