Cody

Problem 2861. Is the test point on the line segment?

Given the [x,y,z] coordinates for the three points pa, pb, and pc, return true if the test point pc is on the line segment with endpoints pa and pb.

pc is on the line segment if it lies at one of the end points.

Solution Stats

31.15% Correct | 68.85% Incorrect
Last Solution submitted on Jul 16, 2018

Problem Comments

Solution Comments