3116. Kth Smallest | Math | Inclusion Exclusion | Binary Search | Bitmasking | Bit Manipulation

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

Aryan Mittal

Aryan Mittal

Күн бұрын

Пікірлер: 71
@YashGulhane-uv9yf
@YashGulhane-uv9yf 9 ай бұрын
nice video and explanation. commenting and sharing this video to friends to increase reach .
@Noob_Coder1234
@Noob_Coder1234 9 ай бұрын
ARYAN , PLEASE EXPLAIN BIT SLOW SUCH PROBLEMS 😂 , BUT THIS EXPLAINATION IS GEM , GOD BLESS U !!
@bishalkundu7592
@bishalkundu7592 9 ай бұрын
If the interviewer does not accepts my heap solution then I will just simply leave the room! Btw what a great explanation!
@CGhitaarth
@CGhitaarth 9 ай бұрын
hey could you share your heap solution? ty
@bishalkundu7592
@bishalkundu7592 9 ай бұрын
@@CGhitaarth I didn't implemented but I was thinking to generate the first k distinct numbers using heap. But that would have given me TLE, so I avoided that solution
@disunique6107
@disunique6107 9 ай бұрын
True 😂
@HimanshuKumar-nf4ty
@HimanshuKumar-nf4ty Ай бұрын
There will be TLE with Heap solution. class Node implements Comparable{ int multiple; int curr; Node(int multiple,int curr){ this.multiple = multiple; this.curr = curr; } public int compareTo(Node a){ if(this.curr!=a.curr){ return this.curr - a.curr; } return this.multiple - a.multiple; } } class Solution { public long findKthSmallest(int[] coins, int k) { PriorityQueue pq = new PriorityQueue(); Set visited = new HashSet(); long val = 0; long curr =0; int c = k; int n= coins.length; for(int i=0;i
@nelsonthekinger
@nelsonthekinger 9 ай бұрын
I barely can't believe what I'm witnessing, this is crazy solution, How much hardwork to reach here? 😵 This is crazy! So this are the powers of a CF Expert! Very Impressive! Thanks for the Solution
@Noob_Coder1234
@Noob_Coder1234 9 ай бұрын
is he CF expert?
@ITACHIUCHIHA-dr8sz
@ITACHIUCHIHA-dr8sz 9 ай бұрын
i would recommend you try solving codeforces div2 C level problems, then these will not seem intimidating at all, even if you have to watch solution videos
@Anonymous____________A721
@Anonymous____________A721 3 ай бұрын
​@Noob_Coder1234 master
@vaibhavagarwal3757
@vaibhavagarwal3757 9 ай бұрын
You solve these problems which no one touches. Thanks aryan for such efforts 😁
@ashisranjandey7541
@ashisranjandey7541 9 ай бұрын
Now this explanation is an ART !!! and u r a great artist. Never thought will understand this much in a hard prob.
@aashutoshagrawal5239
@aashutoshagrawal5239 9 ай бұрын
If you can slow down your explanation a bit it would increase viewer's attention. Atleast for me I felt like this is a very good problem and you have gone through every approach one can think of and proving it wrong why it cant be in that way but it was too fast for a beginner or a newbie to understand this. A person who is already ranked high wouldn't easily come to yt and watch the solution instead he can go to lc solution section to refer that. So, try to make your solutions a little slow and compatible for a newbie. My personal suggestion only following you since last october.
@prathameshkhetre1494
@prathameshkhetre1494 9 ай бұрын
discovering your channel is the one of the best thing happened to me in my coding journey ✨
@ShivamYadav-vg5fv
@ShivamYadav-vg5fv 9 ай бұрын
@17:20 Dont get demotivated brother, you are doing great. You and striver are alike.
@Mihir_kathpal
@Mihir_kathpal 9 ай бұрын
very nice explaination bro.. you are inspiration for those who do not convey solution properly inspite of your problem of fumbling , but i salute your hardwork
@vishwasdhanwani6134
@vishwasdhanwani6134 9 ай бұрын
Not today but Someday..... Will reach such a level🙌
@Anonymous____________A721
@Anonymous____________A721 3 ай бұрын
Did u😂
@HarshaVardhan-fu9kv
@HarshaVardhan-fu9kv 9 ай бұрын
Great explanation bro .... I was searching for this explanation from contest completion 🙇🙇
@nobbiesid1324
@nobbiesid1324 9 ай бұрын
Nice explanation love it !! 🥰🥰
@user-em3hk3kp6r
@user-em3hk3kp6r 9 ай бұрын
Keep up the good work bro. The explanation is subtle and profound
@Its_Shubham_Negi
@Its_Shubham_Negi 2 ай бұрын
Liked !!. Op explanation ❤
@nikeshmali8506
@nikeshmali8506 9 ай бұрын
great explaintion. i always wait for you if i can not solve contest question.
@pranavrao6592
@pranavrao6592 9 ай бұрын
Very nicely explained 👏🏻👏🏻 Deserves more reach
@wellsonny7987
@wellsonny7987 9 ай бұрын
Great Explaination!!!! Keep up the good work!!!!
@vishwajeet172
@vishwajeet172 3 ай бұрын
You have just got a new subscriber
@sanskardhyani4112
@sanskardhyani4112 9 ай бұрын
The lecture is just amazing like always sir😍
@tanmay5663
@tanmay5663 9 ай бұрын
Great Work
@ARYANMITTAL
@ARYANMITTAL 9 ай бұрын
If you are in college do watch this - kzbin.info/www/bejne/jHKzaHSQh8qqec0si=nDaD3JimS1JFxsrH
@raviprakashgupta9641
@raviprakashgupta9641 9 ай бұрын
gajab ka solution hai
@pabitrakb5291
@pabitrakb5291 9 ай бұрын
Great explanation ❤
@kreideprinz4646
@kreideprinz4646 9 ай бұрын
great explanation
@gauravlandge3356
@gauravlandge3356 9 ай бұрын
very nice explanation
@shivamchaudhary7574
@shivamchaudhary7574 9 ай бұрын
Nice explanation
@ankurprakashsrivastava7764
@ankurprakashsrivastava7764 9 ай бұрын
subscribed, thanks for making the video
@ParthTagalpallewar
@ParthTagalpallewar 9 ай бұрын
can we take r as k*(lowest value in coins arr)
@vinaymungra2735
@vinaymungra2735 9 ай бұрын
Thanks a Lot Aryaan Sir Op
@jatishay26
@jatishay26 6 ай бұрын
maksad nhi bhoolna was the best line 😂
@fraserdab
@fraserdab 9 ай бұрын
Learnt bit mask and existence of LCM and GDC function
@fraserdab
@fraserdab 9 ай бұрын
and inclusion exclusion use in programming
@satwiktatikonda764
@satwiktatikonda764 9 ай бұрын
it would be helpful if you provide with the nodes u use to explain in vids
@disunique6107
@disunique6107 9 ай бұрын
Any bit manipulation playlist?? Any suggestions
@083_tusharsachdeva6
@083_tusharsachdeva6 9 ай бұрын
ONE OF THE OZEST QUESTIONS
@raviyadav2552
@raviyadav2552 9 ай бұрын
This is my very first vedio of solving a hard lvl problem and I learn many new concepts for the very first time, but it took me multiple times to understand the problem, and although I get the question but I feel too naive to get to the solution 😅
@ioanniskoutoulakis3737
@ioanniskoutoulakis3737 8 ай бұрын
Thanks! :)
@harikrushnasuhagiya3925
@harikrushnasuhagiya3925 9 ай бұрын
Thanks Bro
@242deepak
@242deepak 9 ай бұрын
please add link to code in description. Will be very useful
@ashish3487
@ashish3487 9 ай бұрын
bhaiya you explained very well but i am still lacking in the intuition part
@kaushikmoralwar07
@kaushikmoralwar07 9 ай бұрын
7:23 maksad ni bhulna bhaiyoooo 🙂🙂
@SanjayKumar-iu7rq
@SanjayKumar-iu7rq 9 ай бұрын
Advance version of ugly number 3 leetcode problem
@242deepak
@242deepak 9 ай бұрын
the time complexity that you told is wrong. Please check it
@venkatarakesh1698
@venkatarakesh1698 9 ай бұрын
I think space complexity is O(1). Correct me if Iam wrong.
@khalidalam980
@khalidalam980 3 ай бұрын
I also think so. Anybody confirm please
@helloimjavauser
@helloimjavauser 8 ай бұрын
Maksad nahi bhulna hai!!!!
@yashkalia2311
@yashkalia2311 9 ай бұрын
How can a human solve this?
@ramprasath3818
@ramprasath3818 9 ай бұрын
Lol
@feelyourbeat7820
@feelyourbeat7820 9 ай бұрын
4th ki video kab aayegi
@craftsworld3237
@craftsworld3237 9 ай бұрын
4th problem also please
@hhcdghjjgsdrt235
@hhcdghjjgsdrt235 9 ай бұрын
Time Limit Exceeded 522 / 559 testcases passed my sol failed
@ramprasath8091
@ramprasath8091 9 ай бұрын
heap?
@hhcdghjjgsdrt235
@hhcdghjjgsdrt235 9 ай бұрын
@@ramprasath8091 something like that
@242deepak
@242deepak 9 ай бұрын
If you explain in hindi it will be more clear
@rkb_404
@rkb_404 9 ай бұрын
Bro after breakup: Ahh, my ex was mid. midX it is.
@fraserdab
@fraserdab 9 ай бұрын
2 hard this week is 😢
@navinmishra2904
@navinmishra2904 9 ай бұрын
Kch sawal hone layak hi nhi hote
@kanikagyamlani
@kanikagyamlani 5 ай бұрын
this is going on my suicide note
@edithuk2494
@edithuk2494 9 ай бұрын
crazy solution bro🫡
@dhairyadutt6819
@dhairyadutt6819 9 ай бұрын
Very good explanation
CA FINAL SPOM NEW ELIGIBILITY CRITERIA by ICAI for SET A,B,C,D...
14:34
CA SANKALP KANSTIYA
Рет қаралды 14 М.
407. Trapping Rain Water II | BFS | Priority Queue
21:36
Aryan Mittal
Рет қаралды 3,2 М.
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
15.2 Inclusion- Exclusion Principle | GCD  | C++ Placement Course
7:07
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН