Check Whether the Maximum Dominates Every Other Value
Company: Google
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: easy
Interview Round: Other
Overview: Check Whether the Maximum Dominates Every Other Value. The array has a unique largest value. Return its index if it is at least twice every other entry; otherwise return -1.