Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
    Bookmark Topic Watch Topic
  • New Topic


Renuka Prasad prasad
Posts: 6
  • Mark post as helpful
  • send pies
  • Report post to moderator
A text file is given as input.

You have to arrange the strings by reordering them in the following manner:

For every word that ends with a letter,

the next word should start with the same letter.

The words that do not match must be written at the end of the file.
    Bookmark Topic Watch Topic
  • New Topic