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, https://www.cai.sk/ojs/index.php/cai/article/view/1305.