Pergunta de entrevista da empresa Airbus

Asked to solve balancing equations coding challenge