Unresolved imports in StdDraw3D.java
download j3d-1_5_2-windows-i586.zip from http://java3d.java.net/binary-builds.html, then extract j3dcore.jar, j3dutils.jar & vecmath.jar from $ZIP_FILE/j3d-jre.zip/lib/ext, then add these jars into classpath of project of StdLib which is built from stdlib-package.jar from official booksite: algs4.cs.princeton.edu. Reference: http://stackoverflow.com/questions/2352364/where-to-get-com-sun-j3d-classes
How to create a customized Iterable Class
p141, algorithm 1.1, and corresponding source file ResizingArrayStack.java in downloaded algs4.jar file.
The "Item" in ResizingArrayStack
About exercises solutions
Some exercises solutions can be found at http://algs4.cs.princeton.edu/code/;
How to plot graphs of algorithms
Use StdDraw.java. Some use cases can be found at Section 1.5 of Introduction to Programming in Java: An Interdisciplinary Approach by Robert Sedgewick and Kevin Wayne.