Algo problems and solve.