Skip to content

xamroc/ReverseWords

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

ReverseWords

CodeEval Challenge: Reverse words

Challenge Description:

Write a program to reverse the words of an input sentence.

Input sample:

The first argument will be a text file containing multiple sentences, one per line. Possibly empty lines too. e.g.

Hello World

Hello CodeEval

Output sample:

Print to stdout, each line with its words reversed, one per line. Empty lines in the input should be ignored. Ensure that there are no trailing empty spaces on each line you print. e.g.

World Hello

CodeEval Hello

Releases

No releases published

Packages

No packages published

Languages