Solved I Really Really Need Help Solving These Algorithm

Solved I Really Really Need Help Solving These Algorithm