โ† Amazon questions
Reported in a candidate post, Apr 2021

What is gradient descent and where is it used?

Filed under Amazon

Free read 1 of 3

Gradient descent is an iterative optimisation method that minimises a loss function by repeatedly stepping in the direction opposite to the gradient, because that is the direction of steepest decrease.

The question

What is gradient descent and in which algorithms is it used?

Approach

  1. Gradient descent is an iterative optimisation method that minimises a loss function by repeatedly stepping in the direction opposite to the gradient, because that is the direction of steepest decrease.

Tips

  • What they are testing: This question tests the core idea, the update rule, and the role of the learning rate.
  • Common mistake: Confusing gradient descent with the model itself, or ignoring the learning rate and feature scaling.

Related Amazon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.