an algorithm word problem

What is your question?