Pregunta de entrevista de Revolut

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