Sponsored
Use these hints if you're stuck. Try solving on your own first.
Loop through the array starting from the end.
Keep the maximum value seen so far.
Solve with full IDE support and test cases