Pergunta de entrevista da empresa Optiver

Days in between was a program that took in two dates and then calculated the days in between. There was a function being called (blackbox) that returned the number of days in a month for a specific year.