Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 413 Bytes

File metadata and controls

29 lines (17 loc) · 413 Bytes
title Algorithm4 Java Solution 1.4.10
date 2019-08-06 15:54:00 +0800
draft false
tags
JAVA
categories
TECH
archives

1.4.10

Problem:

Modify binary search so that it always returns the element with the smallest index that matches the search element (and still guarantees logarithmic running time).

Solution:

code:

Ex_1_4_10.java

Reference: