algorithm analysis 6522116