Pergunta de entrevista da empresa OLA Electric

How to approach in solving a problem