Skip to content

Add dynamic-programming algorithms with reconstruction and oracle tests - #2

Merged
pralav-25 merged 10 commits into
mainfrom
feat/dynamic-programming-witnesses
Sep 25, 2026
Merged

pralav-25 merged 10 commits into
mainfrom
feat/dynamic-programming-witnesses

Conversation

@pralav-25

Copy link
Copy Markdown
Owner

Add ten dynamic-programming and sequence modules that expose useful counts, optimal values, or reconstruction witnesses: edit scripts, shortest common supersequences, palindromic subsequences, distinct-subsequence counts, change counts, bounded knapsack, rod cutting, minimum jumps, maximal squares, and triangle paths.

Each implementation documents its input assumptions, tie behavior, complexity, and executable example. Tests compare with exhaustive small cases, independent path/subset enumeration, or existing distance oracles. The catalog advances from 127 to 137 algorithms.

Validation: tests, doctests, Ruff lint, and formatting pass locally. Runtime dependencies remain empty.

@pralav-25
pralav-25 merged commit eed43cd into main Sep 25, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant