Deorowicz, Sebastian. “A Cover-Merging-Based Algorithm for the Longest Increasing Subsequence in a Sliding Window Problem”. Computing and Informatics, vol. 31, no. 6, Jan. 2013, pp. 1217-33, http://147.213.75.17/ojs/index.php/cai/article/view/1305.