Pregunta de entrevista de Google

Data structures and algorithms along with unit tests for the same

Respuesta de la entrevista

Anónimo

13 may 2021

I answered the brute force approach to both the questions first and then gave optimal solutions