Amazon interview question

optimization methods for ML