how would you optimally calculate p^k, where k is a non-negative integer? what is the complexity of the solution?
By Rudolph Koelpin at Sep 12 2020