Create a program to find the largest element in an array.
EasyProblem Statement
Create a program to find the largest element in an array.
Sample Input
arr = {3, 5, 7, 2, 8}Sample Output
Largest Element = 8
Limits
Time: 2s · Memory: 256 MB
Create a program to find the largest element in an array.
arr = {3, 5, 7, 2, 8}Largest Element = 8
Time: 2s · Memory: 256 MB