Product
Pricing
Blog
Forum
NEW
Referral
Description
Solution
Discussion
Submissions
Ask AI
AI Insights
Quick Summary
Transform each word based on whether it starts with a vowel or consonant according to Pig Latin rules.
Preserve capitalization by ensuring the transformed word starts with an uppercase letter if the original did.
Isolate and reattach trailing punctuation while treating internal apostrophes as standard characters.
What This Tests
String manipulation and parsing
Character classification and efficient lookups
Case normalization and restoration
Edge case management
Common Patterns
Simulation
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