@@ -0,0 +1,539 @@
+package Chapter1.Section2;%0A%0Aimport edu.princeton.cs.algs4.*;%0Aimport java.io.*;%0A%0Apublic class Exercise15%0A%7B%0A    public static void main (String%5B%5D args)%0A    %7B%0A%09int%5B%5D ints = readInts(args%5B0%5D);%0A%0A%09StdOut.println(ints.length);%0A    %7D%0A%0A    public static int%5B%5D readInts(String name)%0A    %7B%0A%09In in = new In(name);%0A%0A%09String everything = in.readAll();%0A%0A%09String%5B%5D split = everything.split(%22%5C%5Cs+%22);%0A%0A%09int%5B%5D ints = new int%5Bsplit.length%5D;%0A%0A%09for (int ii = 0; ii %3C split.length; ii++)%0A%09%7B%0A%09    ints%5Bii%5D = Integer.parseInt(split%5Bii%5D);%0A%09%7D%0A%0A%09return ints;%0A    %7D%0A%7D%0A

Solved 1.2.15