Pergunta de entrevista da empresa Oracle

There were 2 coding questions.