ServiceNow interview question

Sliding window and knapsack problem