Pergunta de entrevista da empresa Yelp

Sort restaurant based on the frequency.