Commit Graph

22 Commits

Author SHA1 Message Date
varunu28
819b7fd3da Restructured the repo 2018-11-13 09:15:47 -08:00
Sam
174b83f764
Clean Java BinarySearch
Cleans the Java implementation of binary search to be more consistent with styles and to avoid unnecessary boxing of int types
2018-10-22 20:35:07 +01:00
nik
ecfd0f0d72 Changed code style 2018-04-19 09:47:11 +03:00
nik
014bfda4f9 Fixed bug with an infinite loop when an array doesn't contain a key
Fulfilled the code style request
2018-04-19 09:44:48 +03:00
nik
c0020903e2 Added a iterative version of ternary search algorithm and some minor changes in documentation 2018-04-13 09:36:44 +03:00
nik
066adc71d5 Refactored left searching algorithms (except SaddlebackSearch. Just cleaned the code in that algorithm)
Added some documentation to these algorithms
2018-04-12 17:29:33 +03:00
nik
7d178c51b4 Refactored a few searching algorithms
Added documentation to these algorithms
2018-04-12 16:37:47 +03:00
Salvatore Gabriele La Greca
c7f4f53a4b
code clean 2018-04-08 20:05:00 +02:00
thegabriele97
1cb21915fe added iterative version of binary search algorithm 2018-04-06 00:54:36 +02:00
NISHITA97
9295e19ba9 Added SaddlebackSearch 2017-11-19 02:40:31 +05:30
Chetan Kaushik
6531362403 Merge pull request #151 from ribhav-pahuja/master
Added Ternary Search.
2017-10-25 17:00:46 +05:30
Ribhav Pahuja
76042f4713 Added Ternary Search 2017-10-05 00:55:27 +05:30
Ribhav Pahuja
6807e7e3ea Added Ternary Search 2017-10-05 00:50:54 +05:30
Chetan Kaushik
d63dbb12e1 Merge pull request #122 from theycallmemac/master
added interpolationSearch.java
2017-10-03 14:49:10 +05:30
feng liu
85771ea74f prevent (ub+lb) overflow 2017-10-01 17:26:05 -06:00
theycallmemac
665c6f1fb2 added interpolationSearch.java 2017-09-28 21:29:36 +01:00
Varun Upadhyay
22350eaf6b Update BinarySearch.java
Converted integer binary search to generic binary search
2017-08-17 06:57:00 -07:00
Varun Upadhyay
ee5974a04e Updated LinearSearch.java
Converted integer linear search to a generic linear search and added faster input method
2017-08-13 12:03:28 -07:00
Matheus Serrao
60f6dda70a Simplifies the readability of the static method BS 2017-07-16 04:28:01 -04:00
Chetan Kaushik
47818bf583 Merge pull request #32 from theycallmemac/patch-4
Rename LinearSearch.java to Searches/LinearSearch.java
2017-04-27 20:06:52 +05:30
James Mc Dermott
66d46798d0 Rename LinearSearch.java to Searches/LinearSearch.java 2017-04-27 15:18:48 +01:00
James Mc Dermott
324e48903b Rename BinarySearch.java to Searches/BinarySearch.java 2017-04-27 15:18:36 +01:00