Pergunta de entrevista da empresa Lakshmi

Based on Java and c