NVIDIA Interview Question

Time complexity of some code snippet, how to reduce the time complexity