Chewy interview question

Gradient vs stochastic descent formula