Top 5 Most Accessed Files Per Hour from Access Logs
Given an array of file access logs, calculate how frequently each file was accessed during each hour of the day. Use this data to determine the top 5 most accessed files for every hour.
Asked at:
Yelp
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Early August, 2026
Yelp
Junior
I was given an array of files access logs. I has to calculate how frequentily each files was accessed during each hour of the day, so that the system could later determine the top 5 most accessed files for every hour.
Hello Interview Premium
Your account is free and you can post anonymously if you choose.