Find who tweeted the most You will be given a list of tweets Your program should find the user who has tweeted the most\
- Read the input from console.
- First line of input should be number of test cases
- Remaining lines of input should contain each test case input.
- First line should contain number of tweets.
- Followed by N lines, each containing user name and tweet id separated by a space.
Find the user with max number of tweets. Print user name and total number of tweets.
1
4
sachin tweet_id_1
sehwag tweet_id_2
sachin tweet_id_3
sachin tweet_id_4
sachin 3
1
6
sachin tweet_id_1
sehwag tweet_id_2
sachin tweet_id_3
sehwag tweet_id_4
kohli tweet_id_5
kohli tweet_id_6
kohli 2
sachin 2
sehwag 2
2
4
sachin tweet_id_1
sehwag tweet_id_2
sachin tweet_id_3
sehwag tweet_id_4
5
dhoni tweet_id_10
dhoni tweet_id_11
kohli tweet_id_12
dhoni tweet_id_13
dhoni tweet_id_14
sachin 2
sehwag 2
dhoni 4
3
4
sehwag tweet_id_2
sehwag tweet_id_4
sachin tweet_id_1
sachin tweet_id_3
7
sehwag tweet_id_10
sehwag tweet_id_11
kohli tweet_id_12
sachin tweet_id_13
sachin tweet_id_14
sachin tweet_id_1
sehwag tweet_id_4
5
sachin tweet_id_2
kohli tweet_id_4
kohli tweet_id_1
kohli tweet_id_3
sachin tweet_id_5
sachin 2
sehwag 2
sachin 3
sehwag 3
kohli 3