Window Functions Based Problems Sql Leetcode Practice