Pregunta de entrevista de Google

string problem based on greedy approach, dp problem

Respuesta de la entrevista

Anónimo

7 de jun de 2025

was able to answer the first one and got to an optimized solution not able to come up with a optimized for second question. it was a new question that i have'nt practiced much or seen before