Live Batches
Masterclasses
Menu
Free Courses
Account
Login / Sign Up
Problem Submissions Solution

Find Minimum In Rotated Sorted Array

Difficulty: Medium

Acceptance: 89.00%

Points: 30.00

Given a rotated sorted array of distinct integers, return the minimum element in the array. The array was originally sorted in ascending order and then rotated at some unknown pivot. The task is to find the smallest element efficiently

Topics

Companies

Articles

Examples:

N/A

Constraints:
  • 1 = nums.length = 105
  • -104 = nums[i] = 104
  • All values in nums are distinct
Companies:
Apple
Topics:
Recursion
Locked Content
Access Restricted: Please Login to access the code editor and test cases.