Autodesk interview question

Distance between 2 points on a graph