Pergunta de entrevista da empresa Revolut

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