Find Next Smaller Element Leetcode Java