Advanced Algorithms group exercises