Pergunta de entrevista da empresa Huawei Technologies

Difference between one-hot encoding and binary encoding for state machine. Describe the use cases for both types of encoding