Two types of queries
Maximum beauty subsequences
Codeforces Round 750 (Div. 2) E. Pchelyonok and Segments
Technocup 2022 - Elimination Round 2 D. Guess the Permutation
Bubble Cup 14 - Finals Online Mirror (Unrated, ICPC Rules, Teams Preferred, Div. 1) C. Bubble Strike
Codeforces Global Round 17 D. Not Quite Lee
Educational Codeforces Round 117 (Rated for Div. 2) E. Messages
A sorted string
Arrays and sums
Unsafe elements in a matrix