NVIDIA interview question

Questions on C and DS