Pergunta de entrevista da empresa Oracle

All were pretty straight forward questions, related to programming and puzzles.