Imagine you are a daredevil looking to walk a tightrope between two building. Your goal is to figure out how you can traverse the largest (and most impressive) area between the available buildings in your city.
Write a function to return the maximum area of air that you could traverse on the tightrope.
The simplest approach of brute force is taken to check each building with every other building to find out the max area.
jest if used as a framework for testing. Please run the tests using the following command.
npm test