← Home
/
Coding Problems
/
UNSW
/
COMP2041
中文
UNSW
COMP2041
24 problem(s)
Practice coding problems for free with online autotest. Sign in to run and submit.
21T2 Q1 — grep on awards.psv
Easy
shell
21T2 Q2 — Male surnames (shell pipeline)
Medium
shell
21T2 Q3 — Male surnames (Python)
Medium
python3
21T2 Q4 — The missing integer
Medium
shell
21T2 Q5 — Years an award was not given
Hard
shell
21T2 Q6 — Mirrored files
Medium
python3
21T2 Q7 — Print rename-with-extension commands
Hard
shell
21T2 Q8 — Print symlink-dedup commands
Hard
shell
21T2 Q9 — Word wrap, in place
Hard
python3
21T2 Q10 — Remove unbalanced words
Medium
python3
21T2 Q11 — Compare two directory trees
Hard
shell
21T2 Q12 — Knight's reachable squares
Hard
shell
22T2 Q1 — Count enrolments in a program (shell)
Easy
shell
22T2 Q2 — Count enrolments in a program (Python)
Easy
python3
22T2 Q3 — Happy directories
Medium
shell
22T2 Q4 — Enumerate n..m strings
Medium
shell
22T2 Q5 — Log rotation
Hard
shell
22T2 Q6 — Reorder names (Last, First → First Last)
Medium
python3
22T2 Q7 — Git commit summary
Hard
shell
22T2 Q8 — Hottest-100 filter
Hard
shell
22T2 Q9 — Template expander (subprocess)
Hard
python3
22T2 Q10 — equi-group (anagram grouping)
Hard
python3
22T2 Q11 — onesie (word ladder, BFS)
Hard
python3
22T2 Q12 — Instant-runoff vote count
Hard
shell