2419. Longest Subarray With Maximum Bitwise AND - Explanation

Problem Link