NVIDIA interview question

c++ swap, pipeline