Pergunta de entrevista da empresa NVIDIA

The second was about state machine, how to output true for every two consecutive 1s.