solulubeta
Sign in
Story Problems / Binary search
05.03 · Problem

Find the Book on a Rotated Shelf

Medium Binary search on a rotated sorted array Pro

This problem is part of solulu Pro

A library shelf holds books with distinct catalogue numbers that were originally sorted, but the shelf was rotated: the first part was moved to the end (for example [0,1,2,4,5,6,7] became [4,5,6,7,0,1,2]). Given the…

Lifetime ₹2,000 ₹1,000 · Beta offer
Mark this problem as solved when you are finished.

Item 53 of 94 · updated 2026-10-12