QUIZ: LC_W05
◀ BACK WEEK 5
6 QUESTIONS
Q1 1 / 6 medium
Search in Rotated Sorted Array

An ascending sorted array is rotated at some pivot. Given the rotated array nums and a target, return its index or -1 if not found. Algorithm must be O(log n).

What are the subproblems you need to solve?