Find Maximum in Array
Medium📝 Description
Find the maximum value in an array
Input Format
List of numbers
Output Format
Maximum value
Constraints
1 ≤ array.length ≤ 1000
🔍 Sample Input
[3, 5, 2, 8, 1]
✅ Sample Output
8
Code Editor
Please login to run and submit code.
Results
Suggested Solution
Shortcuts: Ctrl+Enter to submit, Ctrl+Shift+R to run