Skip to content

Instantly share code, notes, and snippets.

View vinhkhuc's full-sized avatar

Vinh Khuc vinhkhuc

View GitHub Profile
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
/**
OUTPUT:
+ Sum of 10000 double numbers
For the 1st shuffling, sum = 4999499.9999999935
For the 2nd shuffling, sum = 4999499.999999965