In this video I have discussed swap nodes problem from search section from hackerrank interview preparation kit.
There are basic knowledge about trees is required
Links for more learning
https://www.geeksforgeeks.org/differe....
/ how-to-solve-sliding-window-problems
/ introduction-to-binary-trees
0:00 Start
3:17 Explanation
4:13 Pre/In/post order
7:58 creation of tree and BFS
20:31 Swapping of elements
24:45 Inorder trans for BT
If you are someone who is trying to solve all the problems from hackerrank interview preparation kit playlist and getting stuck anywhere or looking for optimized solution do check my playlist
• Hackerrank Interview Preparation Kit
Watch video Swap Nodes [algo] hackerrank solution online without registration, duration hours minute second in high quality. This video was added by user Kuldip Ghotane 01 October 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 6,442 once and liked it 96 people.