Learning Python And Sql Practice Leetcode 150