Introduction - If you have any usage issues, please Google them yourself
The establishment of a monotonically increasing queue elements from left to right in the team, the team must start from the queue before deleting those questions than the current team elements or equal elements, until a small team than the current element element, or until the queue is empty. If the size of the queue exceeds the window value at this time, the element is deleted from the head of the queue until the queue size is small into the window value. Then insert the current element into the end of the team.