Тёмный

3171. Find Subarray With Bitwise AND Closest to K | Sliding Window | Segment Tree + Binary Search 

Aryan Mittal
Подписаться 47 тыс.
Просмотров 3,5 тыс.
50% 1

Опубликовано:

 

29 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 9   
@ARYANMITTAL
@ARYANMITTAL 5 месяцев назад
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
@humanity7880
@humanity7880 4 месяца назад
Thank you❤❤ This was very helpful
@gaurish3367
@gaurish3367 5 месяцев назад
why is the sliding window condition (rangedAnd < k) ?
@somebruhdyyyyy5538
@somebruhdyyyyy5538 5 месяцев назад
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
@gaurish3367
@gaurish3367 5 месяцев назад
@@somebruhdyyyyy5538 ohh makes sense, thanks
@30sunique78
@30sunique78 5 месяцев назад
I am eagerly waiting for this .... Thanks for this Aryan for Reverting Bitwise (&) Any Anthore Way ?
@yashwantyadav3367
@yashwantyadav3367 5 месяцев назад
+1 👌👌
@satwiktatikonda764
@satwiktatikonda764 4 месяца назад
what do you think aryan bro will this contest unrated or rated?
@krishpoptani7862
@krishpoptani7862 4 месяца назад
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
Далее