Pergunta de entrevista da empresa Microsoft

How do you know if three points make a triangle?

Respostas da entrevista

Sigiloso

24 de jul. de 2011

Slopes. Take any point and find the slope of the two lines from that point to the two other points. If the slopes are equal, the lines cannot make a triangle.

Sigiloso

4 de ago. de 2011

three points cant make a triangle when they are in straight line, which mean a = b+c (or b-c)

1