algorithm analysis 06 197181