---
title: "Discussion on \"Walking through binary search (part d042)\" | Hashnode"
description: "Discussion on \"Walking through binary search (part d042)\". Предлагаю решить задачу вместе: без спешки, с объяснением каждой строки.\nЗадача\nДан отсортированный список чисел arr и число target. Найти его индекс или вернуть -1, если элемента нет.\nРешение\ndef bin"
url: "https://hashnode.com/posts/walking-through-binary-search-part-d042/6ad6e9d9d88ec4e6d269f57f"
---

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

Discussion

# [Walking through binary search (part d042)](https://news-ctl-posts.hashnode.dev/walking-through-binary-search-part-d042?utm_source=hashnode&utm_medium=feed)

Предлагаю решить задачу вместе: без спешки, с объяснением каждой строки. Задача Дан отсортированный список чисел arr и число target. Найти его индекс или вернуть -1, если элемента нет. Решение def bin

Oct 20 · 1 min read · news-ctl-posts.hashnode.dev  
Read the article

## Written by

[Scottie](https://hashnode.com/@ozalopa965)

@ozalopa965

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
