Subarray Problems On Leetcode Sql Practice