Question bank › Binary Search
Dsa Binary Search Warm-up

Minimum in Rotated Sorted Array

You are given a rotated sorted array. Find the minimum element in the array. Input Format: - The first line contains an integer n, the number of elements in the array. - The second line contains n space-separated integers, representing the rotated sorted array. Output Format: - Print the minimum element in the array. Example: Input: 4 4 5 6 1 Output: 1

Key concepts

binary_searcharrayssearch

Practise this out loud — free

Start a mock interview on THIS exact question — a voice AI interviewer opens with it, pushes back like a real onsite, then hands you an instant scorecard.

🎙 Practise this question now
Part of Praxari's verified interview question bank. We show the prompt and concepts to practise with — never a copy-paste solution.