NVIDIA interview question

c++questions, algorithms related