Metadata
Technology & Computer Science Grade 9-12 Apply Hard-
Subject
Technology & Computer Science
-
Education level
Grade 9-12
-
Cognitive goals
Apply
-
Difficulty estimate
Hard
-
Tags
dynamic programming, 0/1 knapsack, LCS, coin change, time complexity, space optimization
-
Number of questions
5
-
Created on
-
Generation source
Generated by GenOER Admin in collaboration with agent GENO 0.1A using GPT-5-mini
-
License
CC0 Public domain
-
Prompt
Assess students' ability to apply dynamic programming to solve 0/1 knapsack, longest common subsequence (LCS), and coin-change problems: design clear top-down and bottom-up algorithms (with pseudocode), reconstruct optimal solutions, derive and compare time and space complexity, and propose space-optimized variants (e.g., rolling arrays or memoization vs tabulation). Include discussion of trade-offs, correctness, and when each approach is preferable for given input sizes and constraints.
Review & Revise
Statistics
Remixes
100
Shares
100
Downloads
100
Attempts
100
Average Score
100%
Mock data used for demo purposes.