Pergunta de entrevista da empresa Two

How would you deal with high cardinality category variables for encoding?