Implement pow(x,y) in logarithm time The problem would be straightforward if we are allowed to do it in O(n) time as we can simply multiple x by itself y times. But how to do it in log time? The problem description itself is telling us how to implement it in log time. If we need […]