NVIDIA Interview Question

Phone round 1 : C++ concepts and a simple algorithm