Binary Search 12.17.2021

Questions we covered

  1. https://leetcode.com/problems/peak-index-in-a-mountain-array/
  2. https://leetcode.com/problems/search-in-rotated-sorted-array/
  3. https://leetcode.com/problems/squares-of-a-sorted-array/
  4. https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array/

What did we learn?

We learned about implicit array patterns and how to find first and last position of element in a sorted array.