public static void main(String args[]){
        PowerFunction pf = new PowerFunction();
        long pow = pf.power(3, 5);
        System.out.print(pow);
    }
Date 03/13/2016
@author Tushar Roy

Find power of 2 numbers.

Time complexity O(logn)
Space complexity O(1)

https://leetcode.com/problems/powx-n/
http://www.geeksforgeeks.org/write-a-c-program-to-calculate-powxn/
src/com/interview/number/PowerFunction.java