NVIDIA Interview Question

Power of a number implementation - iterative, recursive and template