Appian interview question

Sliding window, leet code easy questions, collections