50. Pow(x, n)
# Medium
It's not like medium problem. The key is to consider two cases:
n >= 0
n < 0
Binary Search
Time complexity =
Last updated
Was this helpful?
# Medium
It's not like medium problem. The key is to consider two cases:
n >= 0
n < 0
Binary Search
Time complexity =
Last updated
Was this helpful?