← Back to demo
Warm-up Coding Find and fix the bug

Find maximum

10 pts Author: (O)
Fix the function finding the max number. The array is non-empty and contains finite numbers. Check the loop bound: reading past the array does not produce a number.

Sign in to solve this challenge — an account is free. The demo works without one.

All puzzles are free. An account unlocks the full catalog, saved progress and points.