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

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

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 5 ай бұрын
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 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
Don't underestimate anyone
00:47
奇軒Tricking
Рет қаралды 21 МЛН
Can You Find Hulk's True Love? Real vs Fake Girlfriend Challenge | Roblox 3D
00:24
Hoodie gets wicked makeover! 😲
00:47
Justin Flom
Рет қаралды 138 МЛН
310. Minimum Height Trees | BFS | Topological Sort | Graphs
24:47
C Programming Tutorial for Beginners
3:46:13
freeCodeCamp.org
Рет қаралды 14 МЛН