950. Reveal Cards In Increasing Order | Queue | Simulation

  Рет қаралды 6,677

Aryan Mittal

Aryan Mittal

Күн бұрын

Пікірлер: 36
@harikrishnas1299
@harikrishnas1299 7 ай бұрын
Hey aryan, If you manage to see this comment, I just want to say a big thanks! I was struggling with this question for the past 4 hrs, and after listening your approach again and again for sometimes, I was able to solve this on my own! Big thanks and please continue the same! Cheers !
@ishaanrawal9327
@ishaanrawal9327 7 ай бұрын
Absolutely Beautiful explanation! This problem and your explanation truly attests the fact that DSA requires a lot of thinking and simply running after the "number of questions solved" would not help solely. Thanks Aryan!
@ARYANMITTAL
@ARYANMITTAL 7 ай бұрын
Kesa laga naya chasma 🤓😋?
@SravanPallerla
@SravanPallerla 7 ай бұрын
Old is gold...😅
@TON-108
@TON-108 7 ай бұрын
Ab bs comment hi karne wala tha nya chasma, cool dikh rhe ho 😎😅
@Mousam_Sharma
@Mousam_Sharma 7 ай бұрын
superb🤓😎
@RohanSharma-tl9wh
@RohanSharma-tl9wh 7 ай бұрын
sexy
@Groza558
@Groza558 7 ай бұрын
Ek Number bro
@gilfoyle2211
@gilfoyle2211 7 ай бұрын
maqsad nhi bhulna hai, smooth Aryan bhai smooth
@lavanya_m01
@lavanya_m01 6 ай бұрын
Wow you explained it better than Neetcode!!
@harshitha4886
@harshitha4886 7 ай бұрын
This question seems to be achiveable but tricky. Thanks for your detailed explanation...
@ShubhamSharma-sf8wk
@ShubhamSharma-sf8wk 7 ай бұрын
Best explanation on the internet, I was confused since the morning about this problem.
@rishikag9674
@rishikag9674 7 ай бұрын
same
@yidan_wang_ittan
@yidan_wang_ittan 7 ай бұрын
Hi Aryan, this tutotial is really explicit and easy to understand! Thank you! I wonder how you could realise that simulating the card revealing steps in the sorted input array can lead to the correct answer. I couldn't even think of it even I was solving this question today...
@debanjan10
@debanjan10 7 ай бұрын
Great Explanation Sir..
@ajinkyamadane8596
@ajinkyamadane8596 7 ай бұрын
class Solution { public: vector deckRevealedIncreasing(vector& deck) { int n=deck.size(); sort(deck.begin(),deck.end()); reverse(deck.begin(),deck.end()); for(int i=0;i
@prashantsahu5117
@prashantsahu5117 7 ай бұрын
You are always helpful buddy god bless you !!!
@adityababu3405
@adityababu3405 7 ай бұрын
Bhaiya you explained very good but from the next time you must also explain taking a example also for the code like we do using pen and paper like taken the array or queue and then process it through every step of the code . Please bhaiya don't take it as negative. i love your work
@TurboTalesShortsYT
@TurboTalesShortsYT 7 ай бұрын
how many of u noticed he said "maqsad nahi bhulna h" 😂😂😂😂
@shashankathawale2143
@shashankathawale2143 7 ай бұрын
great explanation brother ...
@choshikkumar3795
@choshikkumar3795 7 ай бұрын
Such a good explanation bro
@raviyadav2552
@raviyadav2552 7 ай бұрын
I feel its a bit tricky question,coz i was not able to reverse engineering it 😅
@gvrreddy2756
@gvrreddy2756 7 ай бұрын
Bro, How did you arrive at this intution
@vinaykosanam6060
@vinaykosanam6060 7 ай бұрын
Editorial se dhono approaches chap dhiya bhai ne.. Lol
@aizad786iqbal
@aizad786iqbal 7 ай бұрын
can we use Array here instead of a queue?
@madmaxgaming5864
@madmaxgaming5864 7 ай бұрын
why is this algo working what is working at behind??
@raghavmanish24
@raghavmanish24 7 ай бұрын
thnaku ....it's realy easy and simple exmplanation
@ABsStudio-s1u
@ABsStudio-s1u 7 ай бұрын
🙏🏽
@dhairyasuryawanshi1780
@dhairyasuryawanshi1780 7 ай бұрын
1:35
@Adnankhan-rp2jp
@Adnankhan-rp2jp 7 ай бұрын
OG!
@kushalrapsik1719
@kushalrapsik1719 7 ай бұрын
add a break conditon in while loop
@bishwashkumarsah171
@bishwashkumarsah171 7 ай бұрын
i cant understand why this works
@Adnankhan-rp2jp
@Adnankhan-rp2jp 7 ай бұрын
my
@iamnoob7593
@iamnoob7593 4 ай бұрын
could not understand ,
How I Got Good at Coding Interviews
6:29
NeetCode
Рет қаралды 1,7 МЛН
Players push long pins through a cardboard box attempting to pop the balloon!
00:31
This Game Is Wild...
00:19
MrBeast
Рет қаралды 187 МЛН
How many people are in the changing room? #devil #lilith #funny #shorts
00:39
752. Open the Lock | BFS | Graph | Time Complexity | Why not DP?
25:53
Reveal Cards In Increasing Order - Leetcode 950 - Python
11:14
NeetCodeIO
Рет қаралды 16 М.
The Boundary of Computation
12:59
Mutual Information
Рет қаралды 1 МЛН
⚡️NEWS | RUBLE COLLAPSE | STRIKE ON CRIMEA | PUTIN IN KAZAKHSTAN
10:34
Ходорковский LIVE
Рет қаралды 204 М.