Reverse Each Word in a String
Asked at Amazon · Coding Questions · Difficulty: Easy
Given a string of space-separated words, reverse the characters within each word while keeping the word order.
Loading the problem…
Asked at Amazon · Coding Questions · Difficulty: Easy
Given a string of space-separated words, reverse the characters within each word while keeping the word order.
Loading the problem…