---
title: "#binary-search-algorithm articles | Hashnode"
description: "Explore 243 articles tagged #binary-search-algorithm on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/binary-search-algorithm"
---

Tag

# #binary-search-algorithm

243 posts · 10 followers

[swayanprabha](https://hashnode.com/@swayan) · [Oct 20](https://hashnode.com/posts/binary-search/6ad7405ce311ba6d058b8942)

### [Stop Thinking Binary Search Is Only for Searching 🔍](https://dsadiscuss.hashnode.dev/binary-search?utm_source=hashnode&utm_medium=feed)

It’s a way of asking the right questions and making the right choice.

7 min read · [dsadiscuss.hashnode.dev](https://dsadiscuss.hashnode.dev/binary-search?utm_source=hashnode&utm_medium=feed)

[0xmu0](https://hashnode.com/@0xmu0) · [Oct 18](https://hashnode.com/posts/binary-search-from-finding-a-number-to-finding-a-boundary/6ad4f840180fea0c9078c106)

### [Binary Search: From Finding a Number to Finding a Boundary](https://reasoninglog.hashnode.dev/binary-search-from-finding-a-number-to-finding-a-boundary?utm_source=hashnode&utm_medium=feed)

Deriving binary search through reasoning, mathematical proofs, loop invariants, and Boolean boundaries, from first principles.

28 min read · [reasoninglog.hashnode.dev](https://reasoninglog.hashnode.dev/binary-search-from-finding-a-number-to-finding-a-boundary?utm_source=hashnode&utm_medium=feed)

[Zenub Naqvi](https://hashnode.com/@zenub07) · [Sep 13](https://hashnode.com/posts/the-line-of-code-that-broke-java-s-standard-library-for-nine-years/6aa68fc18abd5980ba5fd473)

### [The Line of Code That Broke Java's Standard Library for Nine Years](https://zenubnaqvi.hashnode.dev/the-line-of-code-that-broke-java-s-standard-library-for-nine-years?utm_source=hashnode&utm_medium=feed)

A beginner's breakdown of binary search, plus the real overflow bug that hid in Java's standard library for nine years.

7 min read · [zenubnaqvi.hashnode.dev](https://zenubnaqvi.hashnode.dev/the-line-of-code-that-broke-java-s-standard-library-for-nine-years?utm_source=hashnode&utm_medium=feed)

[Annet](https://hashnode.com/@annet-) · [Jul 22](https://hashnode.com/posts/mastering-searching-algorithms-in-python-from-linear-search-to-binary-search/6a60659db174e22c562d6542)

### [Mastering Searching Algorithms in Python: From Linear Search to Binary Search 🔍](https://html-portfolio.hashnode.dev/mastering-searching-algorithms-in-python-from-linear-search-to-binary-search?utm_source=hashnode&utm_medium=feed)

Learn Linear Search and Binary Search in Python with beginner-friendly explanations, Binary Search variations, time complexity, and LeetCode practice problems.

7 min read · [html-portfolio.hashnode.dev](https://html-portfolio.hashnode.dev/mastering-searching-algorithms-in-python-from-linear-search-to-binary-search?utm_source=hashnode&utm_medium=feed)

[Bikash Mainali](https://hashnode.com/@bikash8848) · [Jul 6](https://hashnode.com/posts/how-the-call-stack-works-and-how-recursion-uses-it/6a4b4e9949ed12e53e2abd49)

### [How the Call Stack Works (and How Recursion Uses It)](https://dsa-3956.hashnode.dev/how-the-call-stack-works-and-how-recursion-uses-it?utm_source=hashnode&utm_medium=feed)

Let's build this up from the very beginning, one idea at a time. Part 1: What is a "stack" (the data structure)? Before touching code, picture a stack of plates: You can only add a plate to the top

6 min read · [dsa-3956.hashnode.dev](https://dsa-3956.hashnode.dev/how-the-call-stack-works-and-how-recursion-uses-it?utm_source=hashnode&utm_medium=feed)

[Yashraj](https://hashnode.com/@viewport) · [Jun 2](https://hashnode.com/posts/master-binary-search-templates-rotated-arrays-median-of-two-sorted-arrays-and-binary-search-on-answer/6a1e72d7af54fe6108550243)

### [Master Binary Search: Templates, Rotated Arrays, Median of Two Sorted Arrays, and Binary Search on Answer](https://yashrajxdev.blog/master-binary-search-templates-rotated-arrays-median-of-two-sorted-arrays-and-binary-search-on-answer?utm_source=hashnode&utm_medium=feed)

Binary search for interview preparation with leetcode problems

13 min read · [yashrajxdev.blog](https://yashrajxdev.blog/master-binary-search-templates-rotated-arrays-median-of-two-sorted-arrays-and-binary-search-on-answer?utm_source=hashnode&utm_medium=feed)

[Shubham Kumar Singh](https://hashnode.com/@shubhamsinghbundela) · [Apr 28](https://hashnode.com/posts/aggressive-cows-problem-using-binary-search/69effd9b330a1ad7f73d69ac)

### [Aggressive Cows Problem using Binary Search](https://shubhamsinghbundela.hashnode.dev/aggressive-cows-problem-using-binary-search?utm_source=hashnode&utm_medium=feed)

Learn the Aggressive Cows problem using binary search. Step-by-step explanation with greedy approach, example, and C++ code.

4 min read · [shubhamsinghbundela.hashnode.dev](https://shubhamsinghbundela.hashnode.dev/aggressive-cows-problem-using-binary-search?utm_source=hashnode&utm_medium=feed)

[Shubham Kumar Singh](https://hashnode.com/@shubhamsinghbundela) · [Apr 13](https://hashnode.com/posts/binary-seach/69dceef2f57346bc1e033723)

### [Binary Seach](https://shubhamsinghbundela.hashnode.dev/binary-seach?utm_source=hashnode&utm_medium=feed)

Understand Binary Search from scratch with real examples, visual dry runs, and easy-to-follow logic.

3 min read · [shubhamsinghbundela.hashnode.dev](https://shubhamsinghbundela.hashnode.dev/binary-seach?utm_source=hashnode&utm_medium=feed)

[Leonie Christina](https://hashnode.com/@leoniechristinaa) · [Apr 13](https://hashnode.com/posts/using-bitmasks-for-category-indexing-inside-a-reference-id/69dd04edf57346bc1e107f93)

### [Using Bitmasks for Category Indexing Inside a Reference ID](https://devtofree.hashnode.dev/using-bitmasks-for-category-indexing-inside-a-reference-id?utm_source=hashnode&utm_medium=feed)

The cleaner way to pack multiple categories into a fixed-length ID

6 min read · [devtofree.hashnode.dev](https://devtofree.hashnode.dev/using-bitmasks-for-category-indexing-inside-a-reference-id?utm_source=hashnode&utm_medium=feed)

[Avinash Negi](https://hashnode.com/@avinashnegi1999) · [Feb 18](https://hashnode.com/posts/i-finally-understood-bst-and-its-just-divide-and-conquer-in-disguise/699546f492139c5924740426)

### [I Finally Understood BST — And It's Just Divide & Conquer in Disguise](https://dsawithpython.hashnode.dev/i-finally-understood-bst-and-its-just-divide-and-conquer-in-disguise?utm_source=hashnode&utm_medium=feed)

Last article, I said trees made me nervous. Recursion. Nodes. Children. Height. I expected to be stuck for a week like linked lists. I wasn't. Binary Search Tree clicked faster than I expected — and o

6 min read · [dsawithpython.hashnode.dev](https://dsawithpython.hashnode.dev/i-finally-understood-bst-and-its-just-divide-and-conquer-in-disguise?utm_source=hashnode&utm_medium=feed)
