AUTO1 Group Interview Question

How to encode categorical variables for ML model?