The method computeArea calculates and returns the area of the polygon using a specific formula. It considers the number of vertices and the x-values of the first and last vertices. The method ...
* Initializing the head to null . * the function complicity of time is O(1) . * the function complicity of space is O(1) . * This method add a new vertex . * the time complexity is o(n) . * the space ...