Gift Card Pair
You have a gift card with an exact balance. `prices` lists a shop's item prices in shelf order. Find the indices of two different items whose prices add up exactly to `budget`, and return them as a list [i, j]. Assume exactly one solution exists, and you may not use the same item twice.
You have a gift card with an exact balance. `prices` lists a shop's item prices in shelf order. Find the indices of two different items whose prices add up exactly to `budget`, and return them as a list [i, j]. Assume exactly one solution exists, and you may not use the same item twice.