Your DRY run explanation is awesome !! It clears the picture. It's gives us a better visualization. 💕Thank You For Your Efforts.
@SimpleSnippets3 жыл бұрын
Thanks Manish! Yes I myself used to understand algorithms using this method. It takes some time and efforts but once you get the step by step flow then it's very easy to remember without mugging it up👍🤟
@ManishSharma-fi2vr3 жыл бұрын
@@SimpleSnippets Thank You for your valuable advice sir !!
@ayushkumarranjan2672 жыл бұрын
Your voice gives comfort. There is no better explainer than you sir. You are my lieutenant in DSA battle salute sir.
@yamilz323 жыл бұрын
This channel is underrated, a lot of effort was put in here, cannot believe there are 10x more views than thumbs up. I followed the entire DSA course, waiting for hash and graphs. Also, hopefully you can go with deep Java tutorials as you did with this DSA ones. Thanks.
@SimpleSnippets3 жыл бұрын
Much appreciated!
@srushtikadam15143 жыл бұрын
I agree, such clear explanation is so rare to find
@cmcatholic17983 жыл бұрын
Man you are very articulate about what you teach , keep up the good work 👍👍👍👍
@shreyanshx3 жыл бұрын
Man keeep making videos like these! You're a saviour!
@SimpleSnippets3 жыл бұрын
I will🤟 thanks bro 😊
@shwetpandey34793 жыл бұрын
bro waiting for long time to watch your video
@zavier34363 жыл бұрын
please complete full DSA curse as soon as possible...you are saving my life
@jamesnash96752 жыл бұрын
you r the best...masum
@mrenankrastogi24042 жыл бұрын
Crazy explanation man, thanks :)
@SwathiA_2 жыл бұрын
thank you for your explanation .
@emcemimotionandcontrol55543 жыл бұрын
Very good explanation.
@ElifArslan-l9g3 жыл бұрын
you are amazing
@Mozamel892 жыл бұрын
Perfect
@ant91772 жыл бұрын
that harray should be filled from index 1 .. because from any node if we do i/2 , that will lead us to its parent . If a child is in 2'th pos in array . It parent should be in 1'th postion. But here , it's in 0'th postion
@salilshukla26863 жыл бұрын
Sir I am going to finish nearly all the videos. Please upload Graph videos also.
@anexocelisia93773 жыл бұрын
insertion with heap data structure for the min heap we'll compare the node value where we want to insert (bottom generally -> leaf node) with the parent and if the value of the parent is more than the curr val, then simply swap the element each and every time untill either the loop breaks or the curr reaches the root node. for the insertion we also check for heap full (if harr == capacity)
@stevenmascarenhas19553 жыл бұрын
1st one here😁
@sid7923 жыл бұрын
Plz make video on array like insersion , deletion, at starting nd end point
@rex-dj5cu3 жыл бұрын
Thanks sir
@nadraibrahim64002 жыл бұрын
no check for duplicate values?
@RahulGupta-hh4yu3 жыл бұрын
You are missing to check duplicate value in the MinHeap.
@yashikathakur53793 жыл бұрын
There are no restrictions against duplicate values in heaps, as unlike BST left node doesn't have to be smaller than the right node
@mominasohail54193 жыл бұрын
sir your code is not working
@hamdaaziz03 жыл бұрын
Bhai ap itny syanyy kesy ho😃😃😃😃😃😃
@abishekshah16933 жыл бұрын
package heapDataStructure; import java.util.*; public class implementationofHeap { int data; int capacity=7; int heap[]=new int[capacity]; int heap_size=0; public void insert(int data) { if(heap_size==capacity) { System.out.println("overflow"); return; } heap_size++; int i=heap_size-1; heap[i]=data; while(i!=0 && heap[parent(i)] > heap[i]){ swap(heap[i],heap[parent(i)]); i=parent(i); } } void print() { for(int i=0;i