Min Cost to Connect All Points | Prim's Algorithm | META | Graph Concepts & Qns - 35 | Leetcode-1584

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

codestorywithMIK

codestorywithMIK

Күн бұрын

Пікірлер: 60
@aakashbhargava1
@aakashbhargava1 Жыл бұрын
Being a youtube student and preparing DSA from many channels I can surely say that your channel is the best, the way of teaching and the efforts and the best thing is that you make the most complicated topics the easiest, today you have 6.01K subscribers but soon they will more than 600K because of the quality content you provide, thank you sir lots of respect
@codestorywithMIK
@codestorywithMIK Жыл бұрын
You made my day Aakash. Thank you so much ❤️🙏😇
@DivVj
@DivVj Жыл бұрын
Agree with Akash!
@mantenapragnyabala1711
@mantenapragnyabala1711 2 ай бұрын
Hi.can you suggest from where to learn trees
@SaurabhSinghyadav-r4y
@SaurabhSinghyadav-r4y Ай бұрын
People says Graph is the hardest part of data structure untill they find this Playlist. Thank you so much sir , I'm following this Playlist and almost at its end .
@codestorywithMIK
@codestorywithMIK Ай бұрын
You are most welcome ♥️
@AbhijeetMuneshwar
@AbhijeetMuneshwar 5 ай бұрын
Respected MIK Sir, This video shows how useful concepts those you teach in "Graph Concepts" playlist are. It's like you're teaching us formulae which can be used to solve multiple mathematical questions. Huge respect 🙏🙇
@wearevacationuncoverers
@wearevacationuncoverers Жыл бұрын
This playlist is the best Graph playlist. I can binge watch anything this guy creates
@Silly_My_name
@Silly_My_name 10 ай бұрын
This playlist has improve my problem solving skill as well my consistency. I am not more consistence that ever. I am solving problem each no matter what.
@codestorywithMIK
@codestorywithMIK 10 ай бұрын
So glad to hear 😇🙏
@peter9759
@peter9759 Жыл бұрын
Bhai theory samajh ke khudh hi code likh diya thanks dry run was the crucial part for me
@codestorywithMIK
@codestorywithMIK Жыл бұрын
❤️❤️❤️
@oqant0424
@oqant0424 11 ай бұрын
u made it a cakewalk ......literally. Thanks
@anujkumar-pb6eb
@anujkumar-pb6eb Ай бұрын
Solved by myself because of last video explanation. Thank you MIK
@ugcwithaddi
@ugcwithaddi Жыл бұрын
Today’s POTD done. Thank you legend ❤
@sahilgarg94
@sahilgarg94 Жыл бұрын
Very underrated channel.
@codestorywithMIK
@codestorywithMIK Жыл бұрын
Thank you so much 😇😇❤️❤️
@sumitgupta310
@sumitgupta310 Ай бұрын
done code without watching video , thank you bhaiya !!!!!!!!!!!!!!
@dayashankarlakhotia4943
@dayashankarlakhotia4943 Жыл бұрын
One day this chanel become most popular channel on dsa
@codestorywithMIK
@codestorywithMIK Жыл бұрын
Hope so 🥹 Thank you so much Daya 🙏
@jagadeeshp1163
@jagadeeshp1163 Жыл бұрын
Ek Number
@codestorywithMIK
@codestorywithMIK Жыл бұрын
Thanks a lot ❤️❤️
@codestorywithMIK
@codestorywithMIK Жыл бұрын
Today’s POTD - kzbin.info/www/bejne/h3rYanubrqqdhsUsi=N7C15PELOKP0UjDS
@kishan.17
@kishan.17 Жыл бұрын
Always consistent ❤
@prateekmohanty8315
@prateekmohanty8315 Жыл бұрын
Bhaiya I such love the way you teach , after I have seen your channel whenever I have any doubt in any question I just straight go to yt and search your channel , and let me tell you many people from my college are seeing your videos , this is just an indication of how big this channel is going to be in the coming years Just one small request bhaiya it woule be great if you could post leetcode contest problems as well
@codestorywithMIK
@codestorywithMIK Жыл бұрын
You made my day. Thank you so much 😇❤️🙏 Sure, i will soon start contests also
@prateekmohanty8315
@prateekmohanty8315 Жыл бұрын
@@codestorywithMIK thank you so much bhaiya
@JoyAcharyatvl
@JoyAcharyatvl Жыл бұрын
It was aweosme . Thanks.
@codestorywithMIK
@codestorywithMIK Жыл бұрын
Most welcome 😊
@codestorywithMIK
@codestorywithMIK Жыл бұрын
Today’s POTD - kzbin.info/www/bejne/h3rYanubrqqdhsUsi=N7C15PELOKP0UjDS
@shabananoor9423
@shabananoor9423 Жыл бұрын
Best explanation
@oqant0424
@oqant0424 11 ай бұрын
35/41 DONE [10.12.23]✅✅
@souravjoshi2293
@souravjoshi2293 Жыл бұрын
I will repeat "KING of GRAPHS"
@ugcwithaddi
@ugcwithaddi Жыл бұрын
Legend ❤
@divyanshsagar
@divyanshsagar Жыл бұрын
Awesome!
@codestorywithMIK
@codestorywithMIK Жыл бұрын
Thanks a lot 😇🙏❤️
@dayashankarlakhotia4943
@dayashankarlakhotia4943 Жыл бұрын
Kruskal's algorithm. class solution { public int min cost connected points(int [][]points){ int n=points. length; Priority queue pq= new Priority queue ((a,b)-->a[0]-b[0]); for (int i=0;i
@daayush6654
@daayush6654 Жыл бұрын
Bhaiya said weekend par aayega toh aayega 🙏🏻
@taneyasoni
@taneyasoni Жыл бұрын
15/30
@codestorywithMIK
@codestorywithMIK Жыл бұрын
Today’s POTD - kzbin.info/www/bejne/h3rYanubrqqdhsUsi=N7C15PELOKP0UjDS
@dayashankarlakhotia4943
@dayashankarlakhotia4943 Жыл бұрын
Prim's algorithm. class solution { Public int min cost connect points ( int [][]points){ Priority queue pq=new Priority queue ((a,b)-->a[0]-b[0]);int res=0, connected =0.i=0,n=points. length; boolean []visited =new boolean [n]; while (++connected
@umeshbisht1054
@umeshbisht1054 Жыл бұрын
Thanku bhaiya ❤ Bhaiya adj banane Kai liye DSU use kar sakte hai kay
@debjitmisra8223
@debjitmisra8223 Жыл бұрын
1st❤❤
@FARMAAN2001
@FARMAAN2001 Жыл бұрын
Kaise ho bhai
@codeandtalk6
@codeandtalk6 Жыл бұрын
@SHIVAMOJHA21
@SHIVAMOJHA21 7 ай бұрын
can't we use dijkstra's algo?
@codestorywithMIK
@codestorywithMIK 7 ай бұрын
You can use Dijkstra’s too.
@kartikforwork
@kartikforwork 4 ай бұрын
@@codestorywithMIK how?? we don't have source,
@Abhay14
@Abhay14 Жыл бұрын
bhaiya aapne yha adj as a vector of vector kyun k=liya unordered map kyun nhi liya
@codestorywithMIK
@codestorywithMIK Жыл бұрын
You can take unordered map as well.
@Abhay14
@Abhay14 Жыл бұрын
bhai ye error de rha h :no member named 'push_back' adj[i].push_back({j, weight}); adj[j].push_back({i, weight}); unordered_mapadj(n) isko lagane pr @@codestorywithMIK
@AmarjeetKumar-to9ub
@AmarjeetKumar-to9ub Жыл бұрын
🔥++
@codestorywithMIK
@codestorywithMIK Жыл бұрын
Thanks a lot ❤️❤️
@codestorywithMIK
@codestorywithMIK Жыл бұрын
Today’s POTD - kzbin.info/www/bejne/h3rYanubrqqdhsUsi=N7C15PELOKP0UjDS
@oqant0424
@oqant0424 11 ай бұрын
Motivation in the start 🔥🔥🥹
@B-Billy
@B-Billy Ай бұрын
5:24, This has cycle. It is not even a valid Tree. and you mentioned that every MST must be a valid Tree. Please correct me. Thanks for the video.
@atifakhtar8828
@atifakhtar8828 2 ай бұрын
bhai aagr mera selection ho gaya to aap mujhe lollipop khila dena kyunki aapki9 wajah se hua hai
@B-Billy
@B-Billy Ай бұрын
14:37 Interviewer : O(n3) is too much, can you do it O(n) Candidate :
@gauravbanerjee2898
@gauravbanerjee2898 Жыл бұрын
35/40 done ✅ thanks a lot bhaiya❤🥹
The IMPOSSIBLE Puzzle..
00:55
Stokes Twins
Рет қаралды 182 МЛН
Yay😃 Let's make a Cute Handbag for me 👜 #diycrafts #shorts
00:33
LearnToon - Learn & Play
Рет қаралды 117 МЛН
FOREVER BUNNY
00:14
Natan por Aí
Рет қаралды 31 МЛН
Connecting cities with minimum cost || Graph theory
9:42
Pepcoding
Рет қаралды 10 М.
Disjoint Set Union | DSU | Graph Concepts & Qns - 18 | Explanation+Coding
30:12
Google Coding Interview With A Facebook Software Engineer
49:59
Clément Mihailescu
Рет қаралды 946 М.
The IMPOSSIBLE Puzzle..
00:55
Stokes Twins
Рет қаралды 182 МЛН