ByteDance interview question

Logistic regression, some basic algorithm