Pattern Searching: Naive vs. Binary.
You've heard of Binary search before and may be wondering what all the hype is. Binary is the most widely used searching algorithm in sorted lists, arrays, sets, etc. Why? Because of it's time complexity and divide and conquer approach.
You'd usuall...
brittbann.hashnode.dev8 min read