LeetCode: 2706-Buy Two Chocolates 解題紀錄
Last Updated on 2023-12-20 by Clay
題目
You are given an integer array prices
representing the prices of various chocolates in a store. You are also given a single integer money
, which represents your initial amount of money.