Pow(x, n)

Implement pow(x, n).
Recursion. It is easy to rewrite this as iterative version.

Comments

Popular posts from this blog

Maximum Gap

[ITint5] Maximum Subarray for a Circular Array

[CC150] Chapter 4 Trees and Graphs