Coding (onsite): Implement a sequence processing method, given 1 input at a time, return true only when recent historical inputs contain certain sequence.
Utilisateur anonyme
Maintain recent input history and next expected input in class. My implementation contained some hacks.