Metadata
Technology & Computer Science Undergraduate Apply Medium
Metadata
  • Subject

    Technology & Computer Science

  • Education level

    Undergraduate

  • Cognitive goals

    Apply

  • Difficulty estimate

    Medium

  • Tags

    dijkstra, priority queue, shortest paths, data structures, algorithm analysis, complexity

  • Number of questions

    5

  • Created on

  • Generation source

  • License

    CC0 Public domain

  • Prompt

    Assess students' ability to apply Dijkstra's algorithm to nonnegative weighted graphs by tracing and implementing the algorithm with different priority queue structures (e.g., binary heap, Fibonacci heap, unsorted array). Tasks will include: step-by-step execution on small example graphs (showing distance updates, extract-min, and decrease-key operations), writing or describing pseudocode for each PQ-backed variant, and analyzing time/space complexity and practical trade-offs (sparse vs. dense graphs, constant factors, implementation complexity). Expect correctness checks, complexity derivations, and a short comparative evaluation of which PQ is most suitable under given constraints.
Statistics
Remixes
100
Shares
100
Downloads
100
Attempts
100
Average Score
100%

Mock data used for demo purposes.