Programming Assignment 3: Collinear Points: Instructions Help Center
Note: the API for this assignment has changed substantially since the previous offering.
Specification
Here is the programming assignment specification that describes the assignment requirements.
Be sure that your code conforms to the prescribed APIs, including being in the "default" package and including only the public methods and constructors specified. Note that, as of Fall 2015, algs4.jar uses a "named" package, so you must use an import statement to access a class in algs4.jar.
Checklist
The checklist contains frequently asked questions and hints. If you're not sure where to start, see the section at the end of the checklist.
Testing
The file collinear-testing.zip contains sample data files that you can use to test Brute.java and Fast.java.
Web Submission
Submit a zip file named collinear.zip that contains only the three source files Point.java, BruteCollinearPoints.java, and FastCollinearPoints.java. You will not receive a score or grade report unless you submit the zip file in this specified format. For example, the zip file must contain only the three specified files (and not a folder containing them).