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 don't want to read any spoilers, nor do I want to practice here my math skills and knowledge base. I will be perfectly satisfied with practicing writing functional code in scala. Can someone please just tell me if there is a feneral formula I need to apply to get the area or does the challange lies in dividing the polygon to simpler shapes with simple formula?
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Compute the Area of a Polygon
You are viewing a single comment's thread. Return to all comments →
I don't want to read any spoilers, nor do I want to practice here my math skills and knowledge base. I will be perfectly satisfied with practicing writing functional code in scala. Can someone please just tell me if there is a feneral formula I need to apply to get the area or does the challange lies in dividing the polygon to simpler shapes with simple formula?