Maximum Path Sum In Grid Leetcode Sql Server