---
title: "Discussion on \"importance of \"= \" in binary search conditon\" | Hashnode"
description: "Discussion on \"importance of \"= \" in binary search conditon\". during solving binary search questions I came across two questions In which there is the utilization of condition \" while start <= end: \" differently which make me understand the value of = in this type of question\n1 st question -->\nGiven an array of..."
url: "https://hashnode.com/posts/importance-of-in-binary-search-conditon/63cfde0fce20e29fe8178e39"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [importance of "= " in binary search conditon](https://hjasaiwal114.hashnode.dev/importance-of-in-binary-search-conditon?utm_source=hashnode&utm_medium=feed)

during solving binary search questions I came across two questions In which there is the utilization of condition " while start <= end: " differently which make me understand the value of = in this type of question 1 st question --> Given an array of...

Jan 24, 2023 · 3 min read · hjasaiwal114.hashnode.dev  
Read the article

-   [#binary-search-algorithm](https://hashnode.com/tag/binary-search-algorithm)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#webdev](https://hashnode.com/tag/webdev)

## Written by

[Himanshu Jasaiwal](https://hashnode.com/@himanshujasaiwal)

@himanshujasaiwal · Delhi

  
[View profile](https://hashnode.com/@himanshujasaiwal)

software devloper

## Responses 1

Markdown supported · ⌘↵ to post

[Akash varma](https://hashnode.com/@Achieever)

[Jan 24, 2023](https://hashnode.com/posts/importance-of-in-binary-search-conditon/63cfde0fce20e29fe8178e39/comment/63cfe21d86b9cbe208444d8e)

I am always confused about this while doing Binary search, thanks for this Article it cleared my doubt.

[Himanshu Jasaiwal](https://hashnode.com/@himanshujasaiwal)

[Jan 24, 2023](https://hashnode.com/posts/importance-of-in-binary-search-conditon/63cfde0fce20e29fe8178e39/comment/63cfe21d86b9cbe208444d8e#reply-63cfe87de38157e3a629f76d)

Hey, thanks for liking this is there any feedback?

[Akash varma](https://hashnode.com/@Achieever)

[Jan 24, 2023](https://hashnode.com/posts/importance-of-in-binary-search-conditon/63cfde0fce20e29fe8178e39/comment/63cfe21d86b9cbe208444d8e#reply-63cffb291acaeae4c9da7175)

It's a good small blog clearing a small doubt. maybe if you write a longer blog on some other topic, I can give more descriptive feedback.
