Skip to content

Latest commit

 

History

History
3 lines (3 loc) · 359 Bytes

README.md

File metadata and controls

3 lines (3 loc) · 359 Bytes

Collinear-Points

Solution for Princeton's Algorithms I assignment

This program takes in a set of points, and then finds all sets of four points which are collinear (have a single line segment which can travel through all four). BruteCollinear.java used a brute-force algorithm for doing this. FastCollinear.java uses a faster, more efficient, algorithm