Blog posts tagged with "binary-search"
-
Bits of Java – Episode 11: Compare and Search in Arrays
This week I would like to talk about two methods of the Arrays class which I was not familiar with, and whose logic can be a bit tricky: Arrays.binarySearch and Arrays.compare. But first, let me briefly review what an array is. An array is a memory section which is reserved... [more]
subscribe via RSS