Pregunta de entrevista de NVIDIA

I was asked about myself and then answering 2 leetcode questions.