Metadata
Technology & Computer Science Undergraduate Apply Medium
Metadata
  • Subject

    Technology & Computer Science

  • Education level

    Undergraduate

  • Cognitive goals

    Apply

  • Difficulty estimate

    Medium

  • Tags

    dynamic programming, recursion, knapsack, longest common subsequence, memoization, algorithm analysis

  • Number of questions

    5

  • Created on

  • Generation source

  • License

    CC0 Public domain

  • Prompt

    Assess students’ ability to transform recursive solutions into dynamic programming implementations: identify overlapping subproblems and optimal substructure; choose and implement top‑down (memoization) or bottom‑up (tabulation) approaches; analyze time and space complexity; apply these techniques to 0/1 knapsack and longest common subsequence (including reconstructing the solution). Include code or clear pseudocode and note possible space optimizations (e.g., rolling arrays) and correctness reasoning.
Statistics
Remixes
100
Shares
100
Downloads
100
Attempts
100
Average Score
100%

Mock data used for demo purposes.