Java Basic Questions Leetcode Sql Window Functions W3schools