Posts

Transform dreams into milestones!

LC917. Reverse Only Letters

Problem Solving

Description: Given a string s, reverse the string according to the following rules: All the characters that are not English letters remain in the same position. All the English letters (lowercase or uppercase) should be reversed. Return s after reversing it. [Read More]