Back to course
COMP2041 · Coding Practice
Write code in the browser and autotest it against the samples instantly.
21T2 Q1 — grep on awards.psv
Easyshell
21T2 Q2 — Male surnames (shell pipeline)
Mediumshell
21T2 Q3 — Male surnames (Python)
Mediumpython3
21T2 Q4 — The missing integer
Mediumshell
21T2 Q5 — Years an award was not given
Hardshell
21T2 Q6 — Mirrored files
Mediumpython3
21T2 Q7 — Print rename-with-extension commands
Hardshell
21T2 Q8 — Print symlink-dedup commands
Hardshell
21T2 Q9 — Word wrap, in place
Hardpython3
21T2 Q10 — Remove unbalanced words
Mediumpython3
21T2 Q11 — Compare two directory trees
Hardshell
21T2 Q12 — Knight's reachable squares
Hardshell
22T2 Q1 — Count enrolments in a program (shell)
Easyshell
22T2 Q2 — Count enrolments in a program (Python)
Easypython3
22T2 Q3 — Happy directories
Mediumshell
22T2 Q4 — Enumerate n..m strings
Mediumshell
22T2 Q5 — Log rotation
Hardshell
22T2 Q6 — Reorder names (Last, First → First Last)
Mediumpython3
22T2 Q7 — Git commit summary
Hardshell
22T2 Q8 — Hottest-100 filter
Hardshell
22T2 Q9 — Template expander (subprocess)
Hardpython3
22T2 Q10 — equi-group (anagram grouping)
Hardpython3
22T2 Q11 — onesie (word ladder, BFS)
Hardpython3
22T2 Q12 — Instant-runoff vote count
Hardshell