Deorowicz, S. (2012). A Cover-Merging-Based Algorithm for the Longest Increasing Subsequence in a Sliding Window Problem. Computing and Informatics, 31(6), 1217–1233. https://cai.type.sk/content/2012/6/a-cover-merging-based-algorithm-for-the-longest-increasing-subsequence-in-a-sliding-window-problem/