Pergunta de entrevista da empresa Hitachi Vantara

Puzzle: To find maximum number of triangles using 4 points and non intersecting lines.