Question d’entretien chez Revolut

How does gradient decent work, tell me step by step algorithm.