Binary Search in Java
This is a Java implementation of the Binary Search in Python I did earlier. Refreshing my Java 🙂 And the example client code: This outputs: There are several other options available in the JDK Arrays and Collections classes: For a more detailed explanation of binary search, please see my earlier post.