NVIDIA interview question

Draw and implement a pattern detector for 11001.