Last active
September 24, 2018 15:50
-
-
Save garronej/867eecc3775bf9f4e850c88861784c17 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Write a program that take a text as input and display the top 15 | |
most used words alongside with they repective appearance. | |
e.g: | |
Input: "aa aa aa bb cc aa aa cc " | |
Output: | |
1. "aa" -> 5 | |
2. "cc" -> 2 | |
3. "bb" -> 1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment