Cisco Interview Question

Write a function to calculate x^a with x and a as parameters. Write it recursively

Interview Answer

Anonymous

Apr 17, 2018

pow(x,a/2)