leetcode

33. Search in Rotated Sorted Array

Solution code

Time complexity: O(log(n))

Space complexity: O(1)

Runtime 0 ms
Beats 100.00% of users with Java

Memory 41.95 MB
Beats 41.65% of users with Java