Core techniques: binary search on the answer, two pointers, sliding windows · QuantMax