-Binary search is an efficient [algorithm](/wiki/algorithm) for finding an item from a sorted list of items. It works by repeatedly dividing in half the portion of the list that could contain the item, until you've narrowed down the possible locations to just one.
-## **How Binary Search Works**
-1. **Sorted List**: Start with a sorted list of items.
-2. **Find the Middle Element**: Find the middle element of the list.
-3. **Compare the Target**: Compare the target value with the middle element.
+Binary search is an efficient [algorithm](/wiki/algorithm) for finding an item from a sorted list of items. It works by repeatedly dividing in half the portion of the list that could contain the item, until you've narrowed down the possible locations to just one.
+## **How Binary Search Works**
+1. **Sorted List**: Start with a sorted list of items.
+2. **Find the Middle Element**: Find the middle element of the list.
+3. **Compare the Target**: Compare the target value with the middle element.
... 107 more lines