Code ATLAS

Array Min & Max

Visualize one-pass min/max computation

Find Min & Max Visualization
Min
Max
Current
Input Controls

Current array: [5,1,9,3,7]

Controls
Progress
Current Step:0
Total Steps:0
0.0% Complete
Complexity
Time:O(n)
Space:O(1)
Single pass keeping track of current min and max