albertcardona,
@albertcardona@mathstodon.xyz avatar

"Bitwise Binary Search: Elegant and Fast"
https://orlp.net/blog/bitwise-binary-search/

"Binary search is notoriously difficult to get correct. A 1988 study [1] found that out of an informal sample of twenty computer science textbooks, only five contained a correct binary search algorithm."

[1] "Textbook errors in binary searching", Pattis 1998 https://dl.acm.org/doi/10.1145/52965.53012

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • everett
  • InstantRegret
  • magazineikmin
  • thenastyranch
  • rosin
  • GTA5RPClips
  • Durango
  • Youngstown
  • slotface
  • khanakhh
  • kavyap
  • ngwrru68w68
  • tacticalgear
  • JUstTest
  • osvaldo12
  • tester
  • cubers
  • cisconetworking
  • mdbf
  • ethstaker
  • modclub
  • Leos
  • anitta
  • normalnudes
  • megavids
  • provamag3
  • lostlight
  • All magazines