J.P. Morgan interview question

What is the gradient descent method?