You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
635 B

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
Write a Java program to sort an array of integers
using binary insertion sort method. Binary insertion method is a modified
insertion method that uses binary search to find the insertion point.
<br/> <br/>
Koostada Java meetod, mis järjestab etteantud täisarvude (int) massiivi
kahendpistemeetodil (s.t. pistemeetodil, mille
korral pistekoht leitakse kahendotsimise abil).
<code>public static void binaryInsertionSort (int[] a)</code>