CodePudding user response:
Records of the first half of the second data set, and the Max,If large data, can according to time sequence, its value ascending order, namely:
A=deque,
B=new input values,
Input:
Pop-up a front-end beyond time and pop up a backend is less than b, finally into b.