News

x becomes [2,1,0,0,1,2,3,4,5,6,7,8]. This fills the sliding window with a mirror image of the beginning values and is a decent way (sometimes) to avoid outputing nothing while the window is filling ...
Just for study! Contribute to xuyangwang0825/leetcode-notes-python development by creating an account on GitHub.