repl.it
@claracavalcante/

ShellSort-Java

Java

No description

fork
loading
Files
  • Main.java
  • jdt.ls-java-project
  • InsertionSort.java
  • ShellSort.java
Main.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import java.util.List;
import java.util.ArrayList;
import java.util.Arrays;

class Main {
  public static void main(String[] args) {
		int a = 3/2;
    System.out.println(a);
/*
		List<Integer> arr = new ArrayList<Integer>();
		arr.addAll(Arrays.asList(20, 12, 65, 8, 10, 16, 43, 35, 23, 88, 2, 56, 41, 27, 67, 56));
		arr.forEach(System.out::println);

		System.out.println("Hello world!");

		ShellSort.sort(arr, new int[]{8, 4, 2, 1});
		arr.forEach(System.out::println);

*/

  }
}