Tìm kiếm nhị phân tưởng đơn giản nhưng thực tế dễ mắc lỗi hơn bạn nghĩ! Bài viết phân tích những thách thức khi triển khai chính xác thuật toán kinh điển này trong lập trình - từ xử lý biên, điều kiện dừng đến chọn giá trị trung bình. #BinarySearch #Programming #Algorithms #TìmKiếmNhịPhân #LậpTrình #ThuậtToán

https://www.reddit.com/r/programming/comments/1q841bg/doing_binary_search_right_is_harder_than_you/

📰 Oh, look! Another groundbreaking revelation: Git bisect uses binary search! 🤯 Kevin Jivani heroically uncovers the secret only known to... every developer ever. This just in: people commit too much! 🚀👏
https://kevin3010.github.io/git/2025/11/02/At-the-end-you-use-git-bisect.html #GitBisect #Revelation #DeveloperHumor #BinarySearch #CommitTooMuch #TechNews #HackerNews #ngated
At the end you use git bisect

People rant about having to learn algorithmic questions for interviews. I get it — interview system is broken, but you ought to learn binary search at least.

Kevin Jivani
✔️ Just cracked LeetCode 33 – Search in Rotated Sorted Array in a super unique way! 🚀✅
Optimized for 🔥100% speed & efficiency ✅
Algorithm + Binary Search mastery unlocked! 📊✨
#LeetCode #100DaysOfCode #CodingChallenge #Java #Algorithm #BinarySearch #ProblemSolving #Tech #Programming #UniqueApproach
Binary Search in C++

PeerTube
laugh all you want but i did have to #debug a #binarysearch #algorithm writtin in #python tonight
also pruned a jacaranda tree
#sunday

☑️ Day 30/100: #Leetcode daily question

🟨 Question: 2501. Longest Square Streak in an Array

Easy question

🐈‍⬛ Check out my #GitHub where I post all the daily streak 🔥 questions and #LeetcodeContest 🏆 solutions

🔗 Solution Link: https://github.com/akshatsingh1718/leetcode/tree/main/longestSquareStreakinanArray

🔗 My Leetcode Github: https://github.com/akshatsingh1718

#Algorithms #python #coding #binarysearch

leetcode/longestSquareStreakinanArray at main · akshatsingh1718/leetcode

Contribute to akshatsingh1718/leetcode development by creating an account on GitHub.

GitHub

Drawing pictures is fun. Getting the computer to draw them for you is even better! The fourth chapter of How to Train Your Scrappy Programmer translates numbers into charts to solve problems visually.

https://voyagesincode.com/products/charting-our-course

#charting #DomainTranslation #algebra #BinarySearch

Charting Our Course

I had a nice chat with my younger son this morning and I discovered that at the primary they don't teach how to efficiently search a word on physical dictionary anymore. Talking about this with him, I realised that the search technique taught me by my primary school teacher is the #binarysearch algorithm... a real "a-ha" moment... #developers #dictionary #language

Now (7pm ET) watch
https://youtu.be/yoLT6ibGdvI
(SUBSCRIBE TO YOUTUBE
@hajiaghayi

FOR MORE)
Lesson 10: Introduction to Algorithms by Mohammad Hajiaghayi: We talk about C++#STL,#BinarySearch, #Applications cyclic sequence, searching for a fixed index or sequences of unknown size.

Lesson 10: Introduction to Algorithms by Mohammad Hajiaghayi: C++ STL, Binary Search & Applications

YouTube
Consistent Hashing

In this article, I will attempt to summarize consistent hashing from some articles I read, referenced below. Hash Function A hash function is a function which maps one piece of data to another piece of data. This is done by generating a pseudo-random...

tr1x's blog