Minimum Money Needed Leetcode Sql 50