Pregunta de entrevista de Google

Two different technical questions (Leet Code type)

Respuesta de la entrevista

Anónimo

9 may 2022

Think out loud, come to a naive solution and then try to understand (or ask!) if your interviewer is expecting you to think of a more optimal solution.