Problem 747 · Easy

Largest Number At Least Twice of Others

Check whether the largest number is at least double every other number and return its position. The visual compares the top two values and their index.

Open the interactive visualisation