- This event has passed.
6 PM – USACO Bronze – Gamas
July 25, 2025 @ 6:00 pm - 7:00 pm
Today We Did
- We went over Fibonacci function implementation
- Using Memoization
- Using Memoization Top Down approach
- We went over about Climbing Stairs problem
Homework
- Finish implementation of Climbing Stairs problem
- Create July25CoinProblem.java. Coins problem
-
You are given a list of coin denominations and a target amount.
Your task: Count how many different ways you can make up that amount using unlimited coins from the list.
You may use each coin as many times as you want.
Input:
-
An integer
amount(amount ≥ 0) -
An array
coins[]of positive integers
Output:
-
An integer representing the number of distinct combinations to make up the
amount
Examples:
Example 1:
✅ Output:
4✅ Explanation:
-
[1+1+1+1+1]
-
[1+1+1+2]
-
[1+2+2]
-
[5]
Example 2:
✅ Output:
0(you can’t make 3 using only 2s) -
-