Skip to content

Instantly share code, notes, and snippets.

package bootstrapdemo;
import java.util.Arrays;
public class RearrangeNumber {
public static void main(String[] args) {
int []array = {12,11,-3,-1,4,-2,1,-8};
arrageNumber1(array);
arrageNumber(array);