Given 3 points of triangle, one of them is origin, coordinates of the other 2 are positive integers. I want to find the leftmost point inside triangle(could be on the edges of triangle). x_i, y_i <= 10^9. Is there any algorithm to solve this problem?
I think the leftmost point (as in smallest x-value, not sure what your definition is) is always going to be one of the vertices. Since your other two vertices both have positive coordinates, the leftmost point is always the origin.
UPDATE: left most point different than origin