Minimum Money Needed Leetcode Sql Queries Practice