Comment

Comment by chenb4425

That's only assuming your set of points only contains three points. If you have four or more points, it's entirely possible that a line you draw between two points passes through a third.

.

...

If you're given the above set of points, it's obviously not collinear due to the point at the top, but if you draw a line through any of the bottom two points, it will hit a third.

parent chenb4425 2 months ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton