Pregunta de entrevista de NVIDIA

leet code type question medium to hard level