---
title: "Discussion on \"33. Search in Rotated Sorted Array\" | Hashnode"
description: "Discussion on \"33. Search in Rotated Sorted Array\". link\nKey ideas\n\nIf we split the rotated array from the mid, there must be a sorted half and an unsorted half\n\n[5, 6, 1, 2, 3, 4] -> [5, 6, 1] (unsorted) + [2, 3, 4] (sorted)\n\n[5, 6, 1] -> [5] (sorted) + [6, 1] (unsorted)\n\n\nWe can apply regular binary..."
url: "https://hashnode.com/posts/33-search-in-rotated-sorted-array/6337ff319de1896c308897d9"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [33\. Search in Rotated Sorted Array](https://brianhu.hashnode.dev/33-search-in-rotated-sorted-array?utm_source=hashnode&utm_medium=feed)

link Key ideas If we split the rotated array from the mid, there must be a sorted half and an unsorted half \[5, 6, 1, 2, 3, 4\] -> \[5, 6, 1\] (unsorted) + \[2, 3, 4\] (sorted) \[5, 6, 1\] -> \[5\] (sorted) + \[6, 1\] (unsorted) We can apply regular binary...

Oct 1, 2022 · 2 min read · brianhu.hashnode.dev  
Updated Dec 24, 2022  
Read the article

-   [#binary-search](https://hashnode.com/tag/binary-search)

## Written by

[Brian Hu](https://hashnode.com/@brianhu)

@brianhu

  
[View profile](https://hashnode.com/@brianhu)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
