all practice for algorithm course