Tagged: Java

java 0

Heapsort (java)

Telkom University Creating The Future public class HeapSort { public static void main(String[] args) { int i; int arr[] = {1, 3, 4, 5, 2}; System.out.println(“\n HEAP SORT\n—————-\n”); System.out.println(“Data  : 1, 3, 4, 5,...

java 0

Radix Sort (Contoh Program Java)

import java.io.BufferedInputStream; import java.io.*; /** * * @author L Wira Satria M */ public class radix { static void radixsort (int a[], int d){ int bmat[][], c[], e=1; int i, j, k, m, digit,...

Skip to toolbar