Verkada interview question

Coding (onsite): Implement a sequence processing method, given 1 input at a time, return true only when recent historical inputs contain certain sequence.

Interview Answer

Anonymous

Oct 1, 2022

Maintain recent input history and next expected input in class. My implementation contained some hacks.