Тёмный

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

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

In this video, I'll talk about how to solve Leetcode 3095. Shortest Subarray With OR at Least K I & 3097. Shortest Subarray With OR at Least K II
Learn 2 Pointers Basics & where to apply - • 930. Binary Subarrays ...
Practice Problem - • 713. Subarray Product ...
Let's Connect:
📝Linkedin: / aryan-mittal-0077
📸 Instagram: / ez.pz.dsa
📱Telegram : t.me/aryan_mit...
🤖 Github: github.com/ary...
About Me:
I am Aryan Mittal - A Software Engineer in Goldman Sachs, Speaker, Creator & Educator. During my free time, I create programming education content on this channel & also how to use that to grow :)
✨ Timelines✨
✨ Hashtags ✨
#programming #Interviews #leetcode #faang #maang #datastructures #algorithms

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

 

28 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 19   
@ekanshgupta2930
@ekanshgupta2930 6 месяцев назад
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
@mbm.editzz
@mbm.editzz 6 месяцев назад
mera toh 3rd yr khatam hone ko aya hai abhi bhi nhi hua
@TON-108
@TON-108 Месяц назад
Badhiya bhai 👏👏
@tzuilee588
@tzuilee588 6 месяцев назад
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
@abishekupadhyay6357
@abishekupadhyay6357 6 месяцев назад
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 5 месяцев назад
got stuck in removing OR value from starting pointer. I just suck at bit manipulation.
@Anonymous____________A721
@Anonymous____________A721 2 месяца назад
@abhishek pls share your profile or your solution link I am unable to understand any code
@shivamgurjar8979
@shivamgurjar8979 3 месяца назад
brilliant solution
@prakashnandan7337
@prakashnandan7337 6 месяцев назад
Thanks Aryan
@IK-xk7ex
@IK-xk7ex 6 месяцев назад
I solved it by myself yesterday!
@chase.2595
@chase.2595 6 месяцев назад
aryan mittal legend
@k.satish3663
@k.satish3663 6 месяцев назад
sliding window marathon
@chase.2595
@chase.2595 6 месяцев назад
yeah even daily problems are of sw
@kafuu1
@kafuu1 4 месяца назад
you are such a genius! I wish I can be as smart as you one day!
@priyanshkumar17
@priyanshkumar17 3 месяца назад
Thanks, great explanation
@devanshsengar1877
@devanshsengar1877 5 месяцев назад
very helpful bro
@mbm.editzz
@mbm.editzz 6 месяцев назад
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 6 месяцев назад
nhi
Далее
I Solved 100 LeetCode Problems
13:11
Просмотров 20 тыс.
Being Competent With Coding Is More Fun
11:13
Просмотров 80 тыс.
Sliding Window Technique - Algorithmic Mental Models
36:45
Most Common Concepts for Coding Interviews
6:08
Просмотров 317 тыс.