NumPy allowed · plain Python earns 10 bonus points
Implement iterative linked-list reversal -- the single most-repeated linked-list pattern, and the building block half of the other linked-list problems in this track quietly depend on.
Implement reverse_list(head): walk the list once, at each node redirecting its next pointer to point BACKWARD (to the previous node) instead of forward, using three tracking pointers (previous, current, next).
reverse_list(head: dict | None) -> dict | None