DEV Community

Discussion on: Search me if you can!! Linear & Binary search

Collapse
 
jamesdengel profile image
James dengel • Edited

Also you can use better searching algorithms if you know what sort of distribution in the sorted array your data lies.
en.m.wikipedia.org/wiki/Exponentia...
en.m.wikipedia.org/wiki/Fibonacci_...

Useful in some situations embedded situations I'm looking at you :)

Collapse
 
shimphillip profile image
Phillip Shim

Cool! Never seen these search algorithms methods before :) thanks for sharing.