LeetCode
search
⌘Ctrlk
LeetCode
  • 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
gitbookPowered by GitBook
block-quoteOn this pagechevron-down
  1. Binary Search

BS on 1D array

34. Find First and Last Position of Element in Sorted Arraychevron-right162. Find Peak Elementchevron-right33. Search in Rotated Sorted Arraychevron-right81. Search in Rotated Sorted Array IIchevron-right540. Single Element in a Sorted Arraychevron-right287. Find the Duplicate Numberchevron-right1095. Find in Mountain Arraychevron-right2972. Count the Number of Incremovable Subarrays IIchevron-right
PreviousBinary Searchchevron-leftNext34. Find First and Last Position of Element in Sorted Arraychevron-right