Previous Smaller Element Leetcode Sql Problems