IPv6 Parser (Expand/Normalize/Validate)
Asked at Liftoff · Coding Questions · Difficulty: Medium · Last asked Jul 15, 2026
Given a string `s` representing an IPv6 address (it may contain `::` compression), implement a parser that **normalizes** it into the full 8-group, 4-hex-digit-per-group lowercase form separated by `:`.
Loading the problem…