Leetcode Split Array With Buildings