sir ..u r d only one i found till now who covered these topics of binary tree...thanks alottt...
@RaviKumar-vk6ib4 жыл бұрын
You are an excellent teacher keep up the good work god bless you
@momog73125 жыл бұрын
This video is great! Nice explanation and clear algorithm! Thank you!
@dharanyuvi69513 жыл бұрын
Brother thanks for such a clear explanation.., kudos to you
@MrKumarrohan5 жыл бұрын
Thanks you so much sir for the best explanation ever for diagonal elements. Haven't found better explanation than this.
@ShabnamKhan-cj4zc7 жыл бұрын
Thanks a lot for simple explanation and visiting each every node to show logic.Thanks again.
@rishigoley35217 жыл бұрын
BEST SOURCE TO LEARN ALGOS
@niketkumar77777 жыл бұрын
Bhai.. good approach..Till now i was doing it recursively and finding ways to do it iteratively.. great Man..
@theWrongInsights3 жыл бұрын
love you sir!!! kya smjhate ho tussi!!....
@hiteshusingh85713 жыл бұрын
Nice explanation Sir
@akashninave50013 жыл бұрын
BEST EXPLAINATION, THANK YOU, SIR
@vm16625 жыл бұрын
You explain so well!!!!! Superb!! Thank you :)
@shristisingh65392 жыл бұрын
very nice explanation..literally
@subhalakshmikumarappan88067 жыл бұрын
Very clear and easily understandable..!!!
@rohansodha95553 жыл бұрын
Excellent !
@shyammahato71785 жыл бұрын
nice explanation.. thanku sir
@parmeziaaanoocheese23127 жыл бұрын
great helped in a lot of interviews sir
@MsSk8trboy6 жыл бұрын
Great explanation mahn ..... Keep it up
@Sushil28745 жыл бұрын
Great explanation..!!
@milimishra64477 жыл бұрын
the way u teach is also very gud....
@vivekanandkhyade7 жыл бұрын
Thanks Mili...!
@AddieInGermany7 жыл бұрын
Sir you're THE best
@hymnish_you4 жыл бұрын
Awesome yaar, keep doing!
@prashantverma33474 жыл бұрын
thank you
@nakulamate35584 жыл бұрын
what is the time complexity of the solution?
@vaibhavkumar9037 жыл бұрын
kudos!! You made it look simple :)
@premprakash82206 жыл бұрын
nice explanations
@prashantgiri12853 жыл бұрын
Hey, Sir, I am following you for the past 1 year and your videos are very easy to understand and it gives me a lot of confidence to work on. I would ask for your help to create a placement series where we would get the 100 best questions discussion covering the entire topic of DS Algo and if that works on. We will be surely hitting big companies on campus for sure. ThankYou Prashant Giri Jadavpur University
@travelogue45668 жыл бұрын
nice explanation
@LarryRuane7 жыл бұрын
Beautiful algorithm! I would not have thought of code this elegant. I'm just curious, did you think of this algorithm by yourself? Or is this a previously-known algorithm (that you have presented so clearly)?
@somurauniyar26105 жыл бұрын
sir thanks a lot ......
@SahilJSawant6 жыл бұрын
At 22:34 don't you think the traversal should be "dij" instead of "dji" btw nice tutorial sir
@ArpitDhamija5 жыл бұрын
yes it is !!
@siddharthsethia59866 жыл бұрын
Good One sir!
@ShivangiSingh-wc3gk7 жыл бұрын
beautiful
@kumarparth4444 жыл бұрын
sir please upload more problems of binary tree
@piyushranjan30755 жыл бұрын
Mind blowing algorithm
@tsupreetsingh4 жыл бұрын
thanks bruh
@jatinbansal93474 жыл бұрын
sir I think more easy way is to use map concept as you have used in vertical order traversal.
@gurupreetsingh83475 жыл бұрын
sir , plz tim sorting pe details video bana ke samjyo do
@avikool17 жыл бұрын
Great. Thanks!
@naanchilnanban7 жыл бұрын
Yours video simply super. Can you please help me how to traversal a full binary tree in circular spiral (not in zigzag way).
@srinidhiii7 жыл бұрын
thank you sir
@vivekanandkhyade7 жыл бұрын
Thanks Srinidhi..!
@SuyashSoni2487 жыл бұрын
Why do we need to explicitly specify a condition - If (p == null) break; The outer loop will anyway end as queue becomes empty at the last. Here is the implementation in Python - github.com/suyash248/ds_algo/blob/master/Tree/printDiagonals.py
@brijpatel2374 жыл бұрын
thanks god :-P
@veerrajuyeleti85418 жыл бұрын
sir could you upload on find the node in a binary tree having duplicate subtrees
@vivekanandkhyade8 жыл бұрын
yes sure Veerraju.
@vivekanandkhyade8 жыл бұрын
Hey VeerrRaju.....did u check the diagonal elements of a binary tree video.....u had asked for it....i m very happy to help u with that video.
@veerrajuyeleti85418 жыл бұрын
sir i checked it
@harshgupta97613 жыл бұрын
@@vivekanandkhyade sir diagonal traversal is not uploaded on your github account
@abrahamwilliam12606 жыл бұрын
By this method u can solve in O(N) and not itn O(n^2) public static void Diagonal(Node root, Map h){ LinkedList q= new LinkedList(); q.add(root); while(!q.isEmpty()){ // for(int i=0;i
@coderajput18167 жыл бұрын
where is its program
@saniltalauliker3517 жыл бұрын
With each algorithm you discuss, will you also please provide examples of best and worst time complexity for the same
@ArpitDhamija5 жыл бұрын
its - d,i,j not d,j,i
@kasa0076 жыл бұрын
Sir....I could be able to find this whole program on ur github account
@amitkumarsingh54144 жыл бұрын
void diagonalDistanc(Node * root, int d, map &v ){ if(!root) return; v[d].push_back(root->data); diagonalDistanc(root->left, d+1, v); diagonalDistanc(root->data,d,v); } Rest you can print it.
@nayankurude63697 жыл бұрын
13:02 You missed out on marking u as 2.
@nimishgupta52895 жыл бұрын
u will be 3 not 2
@vivekoberoi066 жыл бұрын
Great explanation. Please avoid saying bad about other websites, it doesn't give out a good impression. People will give you the credit for the amazing videos anyway. Thanks from your well wisher