Pregunta de entrevista de Shift

Medium level Leetcode problems with follow ups about time and memory complexity.