New
ML System Design & SQL tracks just landed
See what's new
×
Question Bank
Pricing
Blog
Forum
HOT
JobRadar
NEW
Referral
Description
Solution
Discussion
Submissions
Ask AI
Question Bank
Tesla
Coding Question
AI Insights
Quick Summary
Shift every uppercase letter in the input string forward by exactly four positions.
Wrap around the alphabet cyclically when the shift exceeds 'Z'.
Process each character independently in a single pass to build the result.
What This Tests
String manipulation and iteration
Modular arithmetic for cyclic operations
ASCII value conversion between characters and integers
Constant-time character transformation
Common Patterns
Hashing
Collapse
Hint
What Interviewers May Ask Next
Ask AI Assistant
Ask AI Assistant
Ask me anything about this coding question!
Qwen
Qwen3.6-Flash
0/2000
Auto
Debug
Run
Submit
Test Cases
Input
Output
Expected