Optimal Polygon Triangulation Cost - Coding problem | OneNoughtOne