[LeetCode] 2789. Largest Element in an Array after Merge Operations
You are given a 0-indexed array nums consisting of positive integers. You can do the following operation on the array any number of times:Choose an integer i such that 0 <= i < nums.length