Apologies for a bit late Contest Tutorial, Landlord se panga ho gya tha 🫨. [Live Stream on 2nd channel today at 9pm] . - 2 Pointer Crash Course - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-ZZ5bOSRxAqM.html - Bit Manipulation Crash Course - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-DDIVTbatu1Y.html - Binary Search Template - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-UZx_DI4z_l8.html - Segment Tree Crash Course - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-NofRIGE7oWU.html - Fenwick Tree Crash Course - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-Qe8qRhz3lzQ.html
After every and/j++, the RangeAnd is decreasing, so once it passes k, we have to increase it(by doing i++), else it will keep going down and won't do much help
I think it will be unrated as all questions were intuitive and similar to prev leetcode ques. So it was matter of time to solve it. But leetcode wasted my 9 mins