Due in 12hours algorithm computer science work