Skip to content

Read a text file that contains many line, each line can be single word or phrase. Return two collection with sorted order.

Notifications You must be signed in to change notification settings

nhatnh/TextToSortedCollection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

TextToSortedCollection

Read a text file that contains many line, each line can be single word or phrase. Return two collection with sorted order.

Source code: Read a text file that contains many line, each line can be single word or phrase. Return two collection with sorted order:

  • First Collection: list of sorted words with alphabet order
  • Second Collection: list of sorted phrase with minimun length order first and if the same length then with alphabet order

Writing JUnit test cases for those

About

Read a text file that contains many line, each line can be single word or phrase. Return two collection with sorted order.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages