Problems > Collatz Peak > Editorial

Collatz Peak — Solution & Editorial

Back to the Problem

Simulate, tracking the maximum.

Complexity: O(steps)