Google interview question

Two different technical questions (Leet Code type)

Interview Answer

Anonymous

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.