Amazon Interview Question

First interview was easy- mid level, i remmber question with Linked list and creating the function. Second was easy - mid . one question, received an array of data of pages and users and other info. and supposed to return the 3 most visited site