Im searching for an algorithm which could get me the closest point, in a 2D Array/Matrix, as fast as possible.
Example Matrix:
1 2 3 4 5 6 7 8 9 10 11 _