#9 - Large Element in the array
Example 1
Input:
arr = [12, 5, 8, 23, 17, 9]
Output:
Largest Element = 23
Example 2
Input:
arr = [-5,-9, -4, -1, -2]
Output:
Largest Element = -1
Last updated
arr = [12, 5, 8, 23, 17, 9]
Largest Element = 23
arr = [-5,-9, -4, -1, -2]
Largest Element = -1
Last updated