Question 1:
I was given a 5 cordinates. Three of which were of a triangle. We need to check if these three points formed a triangle or not . If yes, then we need to check if either one or both or none of other two points lie inside or on triangle.
Question 2:
Two sum problem