Pregunta de entrevista de Meta

about dynamic programming and quick select