+ 英文:
- You are given an integer array nums where the largest integer is unique.
- Determine whether the largest element in the array is at least twice as much as every other number in the array. If it is, return the index of the largest element, or return -1 otherwise.
+ 中文:
- 給定一個整數陣列 nums,其中有一個最大整數是唯一的
- 檢查陣列之最大元素是否至少是陣列中其他每個數字的兩倍。如果是,則回傳最大元素之索引,否則回傳 -1。