Practice Exercises

Welcome to the practice exercises hub! Here you can access practice programming exercises for various topics discussed in the course, such as linked lists, trees and graphs.

Linked Lists

Trees

Graphs

External Resources

LeetCode/HackerRank problems for more practice

This is a curated list of relevant problems from LeetCode and HackerRank created by James, a former COMP2521 tutor.

Solutions

Solutions are available, but please note that you should make a reasonable attempt on each exercise before looking at its solution. The goal of these exercises is not for you to see how quickly you can complete them - it is for you to develop and improve your problem solving skills.