Problem 8 · Medium

String to Integer (atoi)

Follow the parser through whitespace, sign, digits, stop conditions, and 32-bit clamping.

Open the interactive visualisation