Bifalgorithm post

Binary search, one of the most elegant algorithms ever written. Here's a sorted array. Our target, find the number 42. Step 1, check the middle, that's O of log and binary search.

Binary search, one of the most elegant algorithms ever written. Here's a sorted array. Our target, find the number 42. Step 1, check the middle, that's O of lo…

Ideas in this flowchart

  • Binary Search
  • Algorithm Description
  • Sorted Array
  • Target Number: 42
  • Step 1: Check Middle
  • Efficiency: O(log n)
Feed/

Binary search, one of the most elegant algorithms ever written. Here's a sorted array. Our target, find the number 42. Step 1, check the middle, that's O of log and binary search.

"Binary search, one of the most elegant algorithms ever written."

👍
0
0 comments0 shares

Sign in to view and post comments.