[코딩테스트] Reverse words


[코딩테스트] Reverse words

Reverse wordsComplete the function that accepts a string parameter, and reverses each word in the string. All spaces in the string should be retained.Examples :"This is an example!" ==> "sihT si na !elpmaxe""double spaces" ==> "elbuod secaps"→ 문장의 단어 각각을 뒤집어라.[Test Frame]※ 코딩 테스트를 대하는 개인적인 생각정답은 없다. 다만, 멋진 접근이 있을 뿐.중요한 것은 빠르게 판단하고 해결하는 것이라고 생각한다.코딩이 당장은 스스로 부끄러워도 상관없다.10분이 지나도 시작을 못한다면 받아들여야 한다. 다만, 이러한 것은 아직 학..........



원문링크 : [코딩테스트] Reverse words