This repository was created to develop a university work on Algorithm Optimization using Dynamic Programming. You can find more information about the problem in the T2 file in this repository.
First, you need compile the project using:
javac Main.java
After, run the project with:
java Main
Then, you will have to input two values, the first one for the number of digits and the second one for the number of "stripes", separated by space. Finally, you will receive the quantity of numbers you can create with the numbers of digits and "stripes" you input.
The code has three methods:
makeAccountRec
that implements the solution using just recursionmakeAccountRecMem
implements the solution using recursion + memorymakeAccountMatrix
it's not correctly implemented