Binary search is a prime example of an O(log N) algorithm, efficiently finding elements by repeatedly halving the search space in sorted data. In contrast, simple sorting methods like bubble sort or algorithms involving nested loops often exhibit O(N²) complexity, where each element is compared with every other.