clojure-hackos.perimeter
Solution to the Compute the Perimeter of a Polygon challenge See: https://www.hackerrank.com/challenges/lambda-march-compute-the-perimeter-of-a-polygon
perimeter
(perimeter coords)
Computes the perimeter of a figure with vertices at the given sequence of co-ordinates
try-me
(try-me)
Demonstrates perimeter by reading in the following inputs:
- the number of vertices in the figure
- the x-y co-ordinates of each vertex, each pair on a single line