here is the hint
we can easily solve this

draw a triangle
draw a point is inside the triangle
connect the three vertices of the triangle with this point
you will get three small triangle

if ( area(big triangle)== sum of area of small triangles) then the point is
inside the triangle else it is outside the triangle


On Mon, Sep 20, 2010 at 10:02 PM, umesh <[email protected]> wrote:

> Initially we have given  three point A , B, C in plane represent three
> nodes of triangle, now given another point Z  which lies in same
> plane,  find out whether that point lies on/inside the triangle or
> outside of triangle....try to get in minimum time and space
> complexity
>
>
> --
> Thanks & Regards
>
> Umesh kewat
>
> --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<algogeeks%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>
>


-- 
By B. Praveen

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to