Domanda di colloquio di Openet

I was given 3 coding challenges to complete in Java