Q- Given an array of integers nums, return the value of the largest element in the array Examples: Input: nums = [3, 3, 6, 1] Output: 6 Explanation: The largest element in array is 6 Input: nums = [3, 3, 0, 99, -40] Output: 99 Explanation: The larges...
dsa-problem-solving.hashnode.dev1 min read
No responses yet.