How to consider input rate

Hi Please find below code: https://code.sololearn.com/c85a10a23A14 My problem statement says that I must implement multi thread. Also it asks to provide functionality that input request once is blocked due to max request processed in that particular second should be reprocessed. I never came across this functionality and looking for hint on how to achieve the same. Current code is taking input from txt file and it should output into a single text file without no duplicates. I am aware about core functionality of reading and writing unique data using set...but what can be done for input rate and multithreading.?

6th Mar 2021, 2:38 PM
Ketan Lalcheta
Ketan Lalcheta - avatar
1 ответ
- 3
30th Mar 2021, 6:19 AM
Michael - avatar