Pregunta de entrevista de Thumbtack

An algorithm question

Respuesta de la entrevista

Anónimo

18 nov 2019

I solved the problem but not in the most optimal way.