Amazon Interview Question
- 1of 1 vote
You are given a log file with the bandwidth information of users in several lines.- dj16 August 19, 2017 in United States
Bandwidth info for a certain user may be repeated.
User:A Bandwidth:50 CountryCode:IND
User:B Bandwidth:60 CountryCode:USA
User:A Bandwidth:70 CountryCode:IND
(i) Find total amount of bandwidth consumed per user
(ii) Suppose there are 4 country codes, for every country code, find the top 5 users which consumed maximum bandwidth sorted.
| Report Duplicate | Flag | PURGE
Open Chat in New Window