Snowflake logoSnowflake
CodingMembers

Reverse Alphanumeric Segments

Members only

Reverse each maximal run of alphanumeric characters (letters + digits) in place; every non-alphanumeric character (spaces, punctuation, apostrophes) stays at its original index. Example: "Hello! 2026!...

SWE
string
two-pointer
string-processing
easy
Frequency
Single report
Last asked
2026-06-17
Stage
phone-screen

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...