Pergunta de entrevista da empresa Schrödinger

I was asked to build a string parser in python to represent molecules