Binary Search — Algorithm Visualized
Learn binary search — halve sorted array each step, O(log n) lookup, lo/hi/mid visualizer, code breakdown, and common off-by-one pitfalls.
Jul 4, 20263 min read0 views
Articles, guides, and resources on web development, design, blockchain, open source, and career tips.
Filtered by tag: Search
Learn binary search — halve sorted array each step, O(log n) lookup, lo/hi/mid visualizer, code breakdown, and common off-by-one pitfalls.
Learn linear search — sequential scan O(n), works on unsorted arrays, step-by-step index highlight visualizer, code and complexity analysis.
Stay up to date and get notified when I share new contents.
No spam ever, unsubscribe anytime