Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
    Bookmark Topic Watch Topic
  • New Topic

program  RSS feed

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
Boost this thread!