12312 - TF_Bottom3_Python
|
Time |
Memory |
| Case 1 |
1 sec |
32 MB |
| Case 2 |
1 sec |
32 MB |
| Case 3 |
1 sec |
32 MB |
| Case 4 |
1 sec |
32 MB |
| Case 5 |
1 sec |
32 MB |
Description
Given a few lines of text, you need to parse it and perform the following requirements.
In this test, you need to find the top 3 unfrequent words.
If there are some words have same frequency, please order them according to the order of occurence.
Input
One or multiple lines of text
Output
Print top 3 unfrequent words from the input text
If there are many words have the same frequency, please order them according to their appearance order.
Tags