COMP2521 — Data Structures and Algorithms COMP2521 — 数据结构与算法
⚡ Strategy: Theory questions (Q6–Q12) are fast easy marks — secure the 10/40 hurdle first before spending time on hard coding questions. ⚡ 策略:理论题(Q6–Q12)得分快且简单 —— 先确保理论 10/40 的 hurdle,再花时间攻克难编程题。
Q6–Q12 · 40 marks · Multiple choice and short answer. Fast marks if you know the patterns. Q6–Q12 · 40 分 · 选择题与简答题。只要掌握规律就能快速拿分。
Q1–Q5 · 60 marks · C programming. Recursive linked lists, graphs, BFS, BST. No arrays, no malloc allowed. Q1–Q5 · 60 分 · C 语言编程。递归链表、图、BFS、BST。不允许使用数组和 malloc。
Q1–Q8 · Real learning trace with every wrong answer corrected. Bug-callout pattern shows why the right answer is right. Q1–Q8 · 真实做题过程,每个错答都有纠正。"踩过的坑"框解释为什么正确答案是对的。
Q6–Q12 are quick. Lock in the 10/40 hurdle immediately. Q6–Q12 很快。立刻确保 10/40 的 hurdle。
Q1 (recursive append) and Q3 (degree) are straightforward — do these next. Q1(递归追加)和 Q3(度数)最直接 —— 接着做这两题。
Q2 (flas), Q4 (dayTrip BFS), Q5 (BST level) — attempt partial marks if stuck. Q2、Q4、Q5 较难 —— 卡住时尝试拿部分分。