Largest value of K such that both K and -K exist in Array in given index range [L, R] Minimize count of array elements to be removed such that at least K elements are equal to their index values Length of the longest alternating increasing decreasing subarray Content has been removed on Author’s request. Tags: #array-range-queries #Arrays #DSA #Arrays Minimize count of array elements to be removed such that at least K elements are equal to their index values Length of the longest alternating increasing decreasing subarray