The Classic 75 Stage 40 of 75
Appearance
Palette
Start each problem at
Write shows nothing of the solution until you ask. Kept on this device, not in your account.
Linked listEasy
Reverse the list that starts at head, and return its new head.
Aim for O(n) time, O(1) spaceInspired by a classic interview problem ↗
The practice panel runs the code in your browser, so it needs JavaScript.