Roy and Trending Topics

Problem Name:
Roy and Trending Topics
Site:HackerEarth
Links:
Tags:
Problem setters: