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

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

Aryan Mittal

Aryan Mittal

Күн бұрын

Пікірлер: 25
@kafuu1
@kafuu1 5 ай бұрын
you are such a genius! I wish I can be as smart as you one day!
@AyushGupta-rf7vu
@AyushGupta-rf7vu 9 күн бұрын
Bro, loved your confidence and your approach was crazy🔥🔥
@IK-xk7ex
@IK-xk7ex 7 ай бұрын
I solved it by myself yesterday!
@ekanshgupta2930
@ekanshgupta2930 7 ай бұрын
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 7 ай бұрын
mera toh 3rd yr khatam hone ko aya hai abhi bhi nhi hua
@abishekupadhyay6357
@abishekupadhyay6357 7 ай бұрын
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 7 ай бұрын
got stuck in removing OR value from starting pointer. I just suck at bit manipulation.
@Anonymous____________A721
@Anonymous____________A721 4 ай бұрын
@abhishek pls share your profile or your solution link I am unable to understand any code
@harchitgulati3065
@harchitgulati3065 8 күн бұрын
nice approach ! understood it
@chase.2595
@chase.2595 7 ай бұрын
aryan mittal legend
@rahulsomani6084
@rahulsomani6084 8 күн бұрын
nice video bro 🤯
@priyanshkumar17
@priyanshkumar17 5 ай бұрын
Thanks, great explanation
@TON-108
@TON-108 3 ай бұрын
Badhiya bhai 👏👏
@shivamgurjar8979
@shivamgurjar8979 5 ай бұрын
brilliant solution
@Nutrino259
@Nutrino259 Ай бұрын
God Aryan!!!!
@10minutes_cs
@10minutes_cs 8 күн бұрын
12:43 remove the contribution of OR
@k.satish3663
@k.satish3663 7 ай бұрын
sliding window marathon
@chase.2595
@chase.2595 7 ай бұрын
yeah even daily problems are of sw
@tzuilee588
@tzuilee588 7 ай бұрын
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
@devanshsengar1877
@devanshsengar1877 7 ай бұрын
very helpful bro
@mmbmmbmmb
@mmbmmbmmb 7 ай бұрын
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 7 ай бұрын
nhi
@prakashnandan7337
@prakashnandan7337 7 ай бұрын
Thanks Aryan
@pasuvulamaheshbabu9845
@pasuvulamaheshbabu9845 Күн бұрын
Bro,waste of time
Players vs Pitch 🤯
00:26
LE FOOT EN VIDÉO
Рет қаралды 128 МЛН
Random Emoji Beatbox Challenge #beatbox #tiktok
00:47
BeatboxJCOP
Рет қаралды 67 МЛН
Leetcode : Shortest Subarray with Sum at Least K
20:35
Shivank Goel
Рет қаралды 12 М.
Shortest Subarray with Sum at Least K | Leetcode 862
21:31
Techdose
Рет қаралды 37 М.
you will never ask about pointers again after watching this video
8:03
Shortest Subarray With OR at Least K II | Leetcode 3097
21:13
Techdose
Рет қаралды 3,7 М.
Shortest Subarray with Sum at Least K - Leetcode 862 - Python
27:57
Microservices are Technical Debt
31:59
NeetCodeIO
Рет қаралды 633 М.
Players vs Pitch 🤯
00:26
LE FOOT EN VIDÉO
Рет қаралды 128 МЛН