Reverse Alphanumeric Segments in Place
Asked at Snowflake · Coding Questions · Difficulty: Easy
Given a string, reverse only the maximal runs of consecutive alphanumeric characters (English letters and digits). Every other character — spaces, punctuation, apostrophes — stays at its original index.
Loading the problem…
More Snowflake interview questions
- Design a Distributed Job Scheduler with Cron, Pause, Resume
- Design an ACL Authorization Service
- Design an S3-Style Blob Store with Deduplication
- SQL: Project Duration & Budget per Employee
- Cross-Platform Client Logging Library
- Design a Quota System