Saad Group interview question

dp questions sliding window pointer array