Maximum Path Sum In Grid Leetcode Problems On Strings