Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Pow(x, n) (Medium 50)

Implement pow(x, n), which calculates x raised to the power n.

Solution:

Click here Recursively perform pow(x*x, n/2) O(log n)



Installation

Run make to run python and Swift files.