Data structure to get top 5 YouTube trending videos at any time based on maximum likes

This question was asked on of my oracle inerview-

At any time we want to get top 5 trending videos of today based on maximun likes.

Follow up- Every minutes we're getting millions of videos as input.

Comments (4)