The blog of dlaa.me · Jun 1, 2020
Without geometry, life is pointless [Another interesting programming puzzle worked through]
0Sign in to vote or save
This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.
I happened across another coding puzzle recently that caught my interest. (If you're curious, here is a link to the puzzle I discussed a few weeks ago about implementing a weird kind of addition .) The problem this time is as follows: You are given an array of coordinates, coordinates[i] = [x,y] , where [x,y] represents the coordinate of a point. Check if these points make a straight line in the…
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.