We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
I would disagree as triangle is defined by 3 points on the plane that are not on the same line. Your area "zero" triagle is not a triagle as all 3 point are in line which violates definition of the triangle.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Type of Triangle
You are viewing a single comment's thread. Return to all comments →
I would disagree as triangle is defined by 3 points on the plane that are not on the same line. Your area "zero" triagle is not a triagle as all 3 point are in line which violates definition of the triangle.