https://leetcode.com/problems/maximum-subarray/
https://leetcode.com/problems/house-robber/
Given the position of two chess pieces one being a queen - check to see if the queen is in a position to attack the other piece.