+ 2

What is the difference between binary serch and linear search.?

python

3rd Feb 2017, 3:57 AM
_$ubha$h_ iitd
_$ubha$h_ iitd - avatar
2 Answers
+ 7
Linear goes in order while binary "jumps toward" the target. Read this for a much better answer: http://stackoverflow.com/a/700263
3rd Feb 2017, 4:03 AM
Jafca
Jafca - avatar
0
http://stackoverflow.com/questions/700241/what-is-the-difference-between-linear-search-and-binary-search
3rd Feb 2017, 3:41 PM
Ettienne Gilbert
Ettienne Gilbert - avatar