GrokkingAlgorithms
GrokkingAlgorithms copied to clipboard
java samples of Grokking Algorithm book by Aditya Y. Bhargava
p. 195 Error in while cycle where no 4 space in 2 last line
Error in full version `binary_search` on line `mid = (low + high)` => `mid = (low + high) / 2 `
Right answer comment for first example
Codes in methods “selectionSort” have some problems.If we use `int[] newArr = new int[]{arr.length};` newArr is [5].And I think we should't get smallest=3 so many times. Here is my answer,...