Chipotle interview question

How to handle type 2 dimension?