topics in algorithms 8312