992. Subarrays with K Different Integers | Sliding Window | 2 Pointers | FAANG

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

Aryan Mittal

Aryan Mittal

Күн бұрын

Пікірлер: 24
@ARYANMITTAL
@ARYANMITTAL 8 ай бұрын
2 Pointer/Sliding Window Intuition - kzbin.info/www/bejne/kIuYk4KJh910p68 Practice Problems [In its Description Multiple other similar problems] - kzbin.info/www/bejne/oJmnYXeeoNmsbKc 2 Pointer Playlist - kzbin.info/aero/PLEL7R4Pm6EmBJjO-s3jz2qgh0JSRdBSCg
@shikhar2203
@shikhar2203 8 ай бұрын
please make a video on Leetcode 220. contains duplicate III. It is also a problem of sliding window. I tried solving it but was not able to solve it.
@aman_rockstar31
@aman_rockstar31 8 ай бұрын
amazing explanation bro u r the next striver 💯
@divyanshsharma720
@divyanshsharma720 8 ай бұрын
Wrong answer 😅 provided
@Jazzimus
@Jazzimus 8 ай бұрын
a frequency array (along with a variable for unique elements) can be used here instead of an unordered map since we are given the constraint nums[i]
@Antinormanisto
@Antinormanisto 8 ай бұрын
Even if i don't understand your explanation I like to see it, you explain it well but I'm too dumb to understand it.
@tanishyadav3862
@tanishyadav3862 8 ай бұрын
which year bro?
@aman_rockstar31
@aman_rockstar31 8 ай бұрын
try to watch his vedio 2 -3 times u will definitely understand if u put some more effort
@Antinormanisto
@Antinormanisto 8 ай бұрын
@@tanishyadav3862 What do you mean? If you mean what age then my age will be 15 on April 10
@tanishyadav3862
@tanishyadav3862 8 ай бұрын
@@Antinormanisto Bro....u r just 14 nd learning DSA....hats-off dude...great future is waiting for u..
@tanishyadav3862
@tanishyadav3862 8 ай бұрын
@@aman_rockstar31 bruh..he is just 14 man...another legend in making..
@Rohankumar-of2ry
@Rohankumar-of2ry 8 ай бұрын
bro i was literally stuck at the ans logic.
@ShyamSundar-fx8gp
@ShyamSundar-fx8gp 8 ай бұрын
Bhaiya ae sliding window ki playlist banado problems combine karke kafi acha explanation the revision miljayega interview se pehle
@kennysus6174
@kennysus6174 8 ай бұрын
playlist already hain check karle
@aman_rockstar31
@aman_rockstar31 8 ай бұрын
kzbin.info/aero/PLEL7R4Pm6EmBJjO-s3jz2qgh0JSRdBSCg
@ShyamSundar-fx8gp
@ShyamSundar-fx8gp 8 ай бұрын
@@aman_rockstar31 Thanks
@shishimaru6589
@shishimaru6589 8 ай бұрын
bhai tu sota bhi hai kya?
@vasuarora_
@vasuarora_ 8 ай бұрын
🤣🤣
@mridul.7183
@mridul.7183 8 ай бұрын
bro in ans+=(j-i+1), we are getting same ans for ans+=(j-i) also. how?
@ChiragWadwa
@ChiragWadwa 8 ай бұрын
Are wo sb minor changes pe depend kargea Ki tumhara end start pointer kaha point krta h Depends on your code ki tumne start end kaha likha ja
@learningmaths786
@learningmaths786 8 ай бұрын
Hai aryan❤
@chinubunny9974
@chinubunny9974 8 ай бұрын
bro i make this code by my own . This gives error and single test case passed . Can you help me to find where is my error and how to resolve that ... class Solution { public: int subarraysWithKDistinct(vector& nums, int k) { int count=0; for(int i=0;i
Creative Justice at the Checkout: Bananas and Eggs Showdown #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 6 МЛН
When Cucumbers Meet PVC Pipe The Results Are Wild! 🤭
00:44
Crafty Buddy
Рет қаралды 60 МЛН
Мама у нас строгая
00:20
VAVAN
Рет қаралды 11 МЛН
No more docker sidecars! TSDProxy for Tailscale
9:19
Tailscale
Рет қаралды 3,8 М.
Subarrays with K Different Integers - Leetcode 992 - Python
17:31
2 Years Of Learning C | Prime Reacts
22:24
ThePrimeTime
Рет қаралды 312 М.
Sliding Window Maximum - Monotonic Queue - Leetcode 239
15:46
NeetCode
Рет қаралды 264 М.
Mastering Dynamic Programming - How to solve any interview problem (Part 1)
19:41
Dynamic Programming isn't too hard. You just don't know what it is.
22:31
DecodingIntuition
Рет қаралды 199 М.
Creative Justice at the Checkout: Bananas and Eggs Showdown #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 6 МЛН