Leetcode 0033. Search in Rotated Sorted Array
Posted on Wed 11 December 2024 in Leetcode • Tagged with binary-search
Question Link : https://leetcode.com/problems/search-in-rotated-sorted-array/
Difficulty: Medium
Premium: False
Question
There is an integer array nums sorted in ascending order (with distinct values). Prior to being passed to your function, nums is possibly rotated at an unknown pivot index k (1 <= k < nums.length) such that the resulting …
Continue reading