Pergunta de entrevista da empresa HealthTap

In the HackerRank: an algorithim, and a frontend CSS question.