Product
Pricing
Blog
Forum
NEW
Referral
Description
Solution
Discussion
Submissions
Ask AI
AI Insights
Quick Summary
Transform each consonant in a lowercase string to its immediate successor in the alphabet.
Vowels remain unchanged while consonants cycle back to 'b' after 'z'.
Process the input in a single pass to build and return the modified string.
What This Tests
String traversal and character classification
Constant-time lookup table construction
Cyclic boundary handling
Optimized time and space complexity
Common Patterns
Hashing
Collapse
Hint
What Interviewers May Ask Next
Report
Report seen similar question in interview
Ask AI Assistant
Ask AI Assistant
Ask me anything about this coding question!
python
Auto
Debug
Run
Submit
Test Cases
Input
Output
Expected