3097. Shortest Subarray With OR at Least K II | Sliding Window | 2 Pointers | Bit Manipulation

  Рет қаралды 8,391

Aryan Mittal

Aryan Mittal

Күн бұрын

Пікірлер: 25
@AyushGupta-rf7vu
@AyushGupta-rf7vu 2 ай бұрын
Bro, loved your confidence and your approach was crazy🔥🔥
@kafuu1
@kafuu1 8 ай бұрын
you are such a genius! I wish I can be as smart as you one day!
@IK-xk7ex
@IK-xk7ex 9 ай бұрын
I solved it by myself yesterday!
@ekanshgupta2930
@ekanshgupta2930 9 ай бұрын
hnoest question how do you think of such approaches while the contest itself even if I was given like 10 days to solve this I wouldn't have thought of an approach like this one
@mmbmmbmmb
@mmbmmbmmb 9 ай бұрын
mera toh 3rd yr khatam hone ko aya hai abhi bhi nhi hua
@rahulsomani6084
@rahulsomani6084 2 ай бұрын
nice video bro 🤯
@abishekupadhyay6357
@abishekupadhyay6357 9 ай бұрын
bro many many thanks to you. apne iss week 2 pointer itni ache se explain kiya ki i got this one almost instantly during the contest. You are amazing bhai.
@akuma_168
@akuma_168 9 ай бұрын
got stuck in removing OR value from starting pointer. I just suck at bit manipulation.
@Anonymous____________A721
@Anonymous____________A721 6 ай бұрын
@abhishek pls share your profile or your solution link I am unable to understand any code
@TON-108
@TON-108 5 ай бұрын
Badhiya bhai 👏👏
@harchitgulati3065
@harchitgulati3065 2 ай бұрын
nice approach ! understood it
@chase.2595
@chase.2595 9 ай бұрын
aryan mittal legend
@Nutrino259
@Nutrino259 3 ай бұрын
God Aryan!!!!
@imPriyansh77
@imPriyansh77 7 ай бұрын
Thanks, great explanation
@CaptainMeowVlogs
@CaptainMeowVlogs 7 ай бұрын
brilliant solution
@devanshsengar1877
@devanshsengar1877 9 ай бұрын
very helpful bro
@10minutes_cs
@10minutes_cs 2 ай бұрын
12:43 remove the contribution of OR
@prakashnandan7337
@prakashnandan7337 9 ай бұрын
Thanks Aryan
@tzuilee588
@tzuilee588 9 ай бұрын
Well explained and nice test case walk-through man! Just a small suggestion: you're adding too much drama in your facial expressions on camera, kind of distractive lol
@k.satish3663
@k.satish3663 9 ай бұрын
sliding window marathon
@chase.2595
@chase.2595 9 ай бұрын
yeah even daily problems are of sw
@mmbmmbmmb
@mmbmmbmmb 9 ай бұрын
BRO ISSE NAHI HOSAKTA KYA #define ll long long #include using namespace std; class Solution { public: int minimumSubarrayLength(vector& nums, int k) { mapmp; int n=nums.size(); ll ans=1e8; for(int i=0;i=k)return 1; ll x=nums[i]; ll count=1; for(int j=i+1;j=k){ ans=min(ans,mp[{i,j}]); } } } if(ans==1e8){ return -1; } return ans; } };
@soham6473
@soham6473 9 ай бұрын
nhi
@pasuvulamaheshbabu9845
@pasuvulamaheshbabu9845 2 ай бұрын
Bro,waste of time
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН
Shortest Subarray With OR at Least K II | Leetcode 3097
21:13
Techdose
Рет қаралды 3,9 М.
WHY IS THE STACK SO FAST?
13:46
Core Dumped
Рет қаралды 191 М.
Shortest Subarray with Sum at Least K - Leetcode 862 - Python
27:57
Array vs. ArrayList in Java Tutorial - What's The Difference?
17:36
Coding with John
Рет қаралды 577 М.
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН