How cdubuf/algo-project works
This is an educational panel-jumping algorithm project. A user supplies panel count, jump limit, and costs; each standalone program computes a route and total cost. The interactive menu dispatches only to Programs 1 and 2. The remaining programs are independent alternatives: Program 3 is exhaustive, Programs 4A and 4B use memoized and iterative dynamic programming, and Program 5 uses a monotonic deque. The README and sampled sources establish these roles and the input/output contract; no shared runtime pipeline is implied.
Main entry points: main.py Interactive menu · program1.py Program 1 greedy · program2.py Program 2 peak · program3.py Program 3 exhaustive
Components 8
Specialized solutions
- Program 1 greedy
program1.py - Program 2 peak
program2.py
General solutions
- Program 3 exhaustive
program3.py - Program 4A memoized
program4A.py - Program 4B iterative
program4B.py - Program 5 deque
program5.py
User interface
- Interactive menu
main.py
Other components
- User
Connections 18
- User → Interactive menu: enters input
main.py - Interactive menu → Program 1 greedy: dispatches to
main.py - Interactive menu → Program 2 peak: dispatches to
main.py - Program 1 greedy → Interactive menu: returns route
main.py - Program 2 peak → Interactive menu: returns route
main.py - Interactive menu → User: prints result
main.py - User → Program 1 greedy: provides input
README.md - Program 1 greedy → User: prints result
program1.py - User → Program 2 peak: provides input
README.md - Program 2 peak → User: prints result
program2.py - User → Program 3 exhaustive: provides input
README.md - Program 3 exhaustive → User: prints result
program3.py - User → Program 4A memoized: provides input
README.md - Program 4A memoized → User: prints result
program4A.py - User → Program 4B iterative: provides input
README.md - Program 4B iterative → User: prints result
program4B.py - User → Program 5 deque: provides input
README.md - Program 5 deque → User: prints result
program5.py