Pergunta de entrevista da empresa SEAKR Engineering

How would you design a state machine.