Netcracker Technology Interview Question

Sliding window based coding question