Dynamic Programming Coding Challenges

Solve complex problems with DP: memoization, tabulation, state compression, and optimization techniques by solving Dynamic Programming coding challenges.

Problems (21 total)

Show:

Garden Lantern Seating Ways

Count seating arrangements with no adjacent lantern watchers that reach the desired brightness.

Solve

Festival Glow Step Combinations

Count nondecreasing step sequences that reach the exact length of the festival ramp.

Solve

Evening Harmony Partition Count

Count how many ways to partition the harmony notes into segments under a volume limit.

Solve

Twilight Lantern Garden

Count paths to reach the final lantern arrangement using petals with limited energy.

Solve

Lantern Vowel Pathways

Count the number of paths through a lantern board when vowels must appear in nondecreasing order.

Solve

Celestial Pattern Synthesis

Determine the lexicographically smallest covering of patterns that rebuilds the mural path with overlapping costs.

Solve

Lantern Crew Rest Planner

Maximize total rehearsal value while scheduling rest, prep, and showcase days with fatigue rules.

Solve

Glow Market Profit Planner

Maximize lantern market profit with a mandatory cooldown after each sale.

Solve

Luminous Script Segmentation Count

Count how many dictionary segmentations rebuild the script string.

Solve

Harbor Banner Schedule Slots

Minimize banner crew cost using 1-, 3-, or 7-day passes.

Solve

Lantern Melody Chain Length

Find the longest non-decreasing chain of melodies performed in order.

Solve

Festival Coin Path Count

Count how many paths reach the far corner of the festival grid while avoiding blocked stalls.

Solve
Showing 1 - 12 of 21 problems
1