Minimum Money Needed Leetcode Javascript Practice For Beginners