In this video we will flatten binary tree into a linked list using recursion.
Logic : We will store the right node into a temp node and shift the left side to the right side, then put the temp node to the extreme right of that shifted node, then using recursion do the same to all the nodes.
#amazon #coding #codinginterview #interview #amazoninterview #faang
On this page of the site you can watch the video online Amazon's Coding Interview Question | Flatten Binary Tree to Linked List with a duration of hours minute second in good quality, which was uploaded by the user EazyAlgo 08 October 2020, share the link with friends and acquaintances, this video has already been watched 6,092 times on youtube and it was liked by 128 viewers. Enjoy your viewing!