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

  Рет қаралды 3,554

Aryan Mittal

Aryan Mittal

Күн бұрын

Пікірлер: 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 - kzbin.info/www/bejne/kIuYk4KJh910p68 - Bit Manipulation Crash Course - kzbin.info/www/bejne/enWsh4eYltmoZ7s - Binary Search Template - kzbin.info/www/bejne/i4vbkHd_ad-Sopo - Segment Tree Crash Course - kzbin.info/www/bejne/hKDJg3x9epyijbc - Fenwick Tree Crash Course - kzbin.info/www/bejne/h5abooWer5ifsLM
@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
@satwiktatikonda764
@satwiktatikonda764 5 ай бұрын
what do you think aryan bro will this contest unrated or rated?
@krishpoptani7862
@krishpoptani7862 5 ай бұрын
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
@30sunique78
@30sunique78 5 ай бұрын
I am eagerly waiting for this .... Thanks for this Aryan for Reverting Bitwise (&) Any Anthore Way ?
@yashwantyadav3367
@yashwantyadav3367 5 ай бұрын
+1 👌👌
I tricked MrBeast into giving me his channel
00:58
Jesser
Рет қаралды 26 МЛН
ПРЯМОЙ ЭФИР. Золотой мяч France Football 2024
4:41:06
НИКИТА ПОДСТАВИЛ ДЖОНИ 😡
01:00
HOOOTDOGS
Рет қаралды 3,2 МЛН
310. Minimum Height Trees | BFS | Topological Sort | Graphs
24:47
I tricked MrBeast into giving me his channel
00:58
Jesser
Рет қаралды 26 МЛН