Tree Isomorphism Problem | Love Babbar DSA Sheet | GFG 🔥 | Amazon | FAANG| Placements| Important

preview_player
Показать описание
#tree #competitiveprogramming #coding #dsa
Hey Guys in this video I have explained with code how we can solve the problem 'Tree Isomorphism Problem '.

Follow us on Instagram:

Follow us on LinkedIn:

Hope you like it. Comment if you have any doubt

LIKE | SHARE | SUBSCRIBE
Рекомендации по теме
Комментарии
Автор

focus more on dry run than the code, that would make the learning more easy!!

rishi
Автор

Bhai tu hr video me dakar hi leta rhta h bro!!
Thanks for explaination!!

anuraggoyar
Автор

I think instead of writing base case in two lines, we can do
if(!root1 || !root2)
return root1 == root2; //if any of the root reaches null, then return true if both are null, otherwise false

chetanraghavv
Автор

Bro are you Bihari, cause ur accent matches mine 😂
btw nice explanation

rajharsh
Автор

Bhaiya a or b dono mai bhi true aa sakta hai jab saare nodes ki value same ho dono trees ki or aapas mai bhi
T1 -> 1 2 2
T2 -> 1 2 2

nitinkumar
Автор

This code not works in java for multiple test cases

viratsrivastava
Автор

you are yogesh and telling shailesh why ???

dsa_tutorial
Автор

Har question ko gfg se copy krke kr deta hai

priyanshuagrawal