Pergunta de entrevista da empresa Chinsay

Basic algorithmic code questions, Architect patterns.