what if the tree is null ? i think you have to check if thats the case first and return 0 if thats true.
@ankan19947 жыл бұрын
sir, can this code be optimized as if a node which is a subtree of a tree has already total leaf count>k, then the root means the node at its upper level also have k>2..no need to check it through recursion....for eg- if node c has k>2 which is subtree of a,then its obvious that its root a has k>2...so whats the point to check it?
@bhupalibaishya21366 жыл бұрын
sir string permutation backtracking pe video banayiye na
@shrijanaryal49236 жыл бұрын
kzbin.info/www/bejne/bWnXkKx-qqyaY5I watch this! You will never forget how its done once you watch this video.
@ankitlohiya767 жыл бұрын
this vdeo is super awesome....
@vivekanandkhyade7 жыл бұрын
Thanks Ankit.!
@barahah98717 жыл бұрын
can u be bit faster ........u r like a cammel
@srinidhiii7 жыл бұрын
If u want you adjust the speed of you video. He is explaining very well indeed!!