Trending Algorithm
Algorithm for finding trending values for an Array of videos
Input
Array of video Info: Each video must contains views, comments, votes and uploadTime
Output
Array of video Info + trendingValue on each video object
Algorithm for finding trending values for an Array of videos
Array of video Info: Each video must contains views, comments, votes and uploadTime
Array of video Info + trendingValue on each video object