have you already had a coffee today? if not you better get one before get to this quiz
the goal is:
on every mouse click a dot will be drawn on the screen and now we will need to connect all dots
with a line. but the goal is to find the shortest line to each dot and draw a line between those 2 dots but all lines must be connect with each other, so you need to write an algorithm that does it.
i will include the jar file and i hope you will make it faster then i did
good luck!
the goal is:
on every mouse click a dot will be drawn on the screen and now we will need to connect all dots
with a line. but the goal is to find the shortest line to each dot and draw a line between those 2 dots but all lines must be connect with each other, so you need to write an algorithm that does it.
i will include the jar file and i hope you will make it faster then i did
good luck!