ByteDance interview question

Explain the difference between sgd and adam