Stone Game 1 Leetcode Sql