LeetCode
Ctrlk
  • Default
  • Learning Temp
  • Template
  • Copy of Template
  • CodeChef_Codeforces
  • Array
  • String
  • Hash & Map
  • Linked List
  • Binary Search
    • BS on 1D array
      • 34. Find First and Last Position of Element in Sorted Array
      • 162. Find Peak Element
      • 33. Search in Rotated Sorted Array
      • 81. Search in Rotated Sorted Array II
      • 540. Single Element in a Sorted Array
      • 287. Find the Duplicate Number
      • 1095. Find in Mountain Array
      • 2972. Count the Number of Incremovable Subarrays II
    • BS Over Answer Space/ Answer Space
    • BS on 2D Arrays
    • Copy of Copy of Copy of Template
  • Bit Masking
  • Stack
  • Sliding Window
  • Prefix & Suffix
  • Heaps and Priority Queue
  • Greedy
  • Trees
  • Graph
  • Recursion & Backtracking
  • Dynamic Programming
  • Trie
  • Insights & new Learnings
Powered by GitBook
On this page
  1. Binary Search

BS on 1D array

34. Find First and Last Position of Element in Sorted Array162. Find Peak Element33. Search in Rotated Sorted Array81. Search in Rotated Sorted Array II540. Single Element in a Sorted Array287. Find the Duplicate Number1095. Find in Mountain Array2972. Count the Number of Incremovable Subarrays II
PreviousBinary SearchNext34. Find First and Last Position of Element in Sorted Array