nas5w/javascript-patterns

Find 3 collinear points in a 2d graph

phara0hcom opened this issue · 0 comments

I made this algorithm I don't know if it is the best solution but I can make a PR and add it:
https://github.com/phara0hcom/learAlgorithms/blob/master/collinearLineAlgo.js

please let me know. I'll write some test for it as well.