Pergunta de entrevista da empresa Openet

I was given 3 coding challenges to complete in Java