easy +10 pts

Min-max normalize vector

Scale values to 0..1; equal values become all 0.0.

Implement `minmax_normalize(v: list[float]) -> list[float]`. Constraints: Pure Python lists only (no numpy import required in browser).

Constraints

Pure Python lists only (no numpy import required in browser).

Example

>>> minmax_normalize(...)
# see tests
10 points ~12 min

Recent Submissions

No submissions yet — hit Run Tests to try!

Hints

Think element-wise across aligned indices.
Handle empty inputs before loops.
Python 3
All tests passed!
Test Results
Press Ctrl+Enter or click Run Tests to execute your code.