Zomato interview question

Explain Logistic regression with example