Pergunta de entrevista da empresa Meta

Add two strings like "12.24" + "1.888" remove minimum parathesis to make the string valid