Data Structure Questions Leetcode Sql Window