Dell Technologies Interview Question

How do you apply one-hot encoding to a table (phrased without using the term one-hot encoding)