Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 477 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 477 Bytes
  • Completed at: 2023-10-14T04:20:45.773Z

  • Completed languages: java

  • Tags: Strings, Fundamentals

  • Rank: 7 kyu

Description

Complete 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"