Code: https://github.com/RevathyGovindarasu...
Link to Problem: https://leetcode.com/problems/flatten...
This video explains the solution for "Flatten Binary Tree to Linked List" in O(n) time and space.
Hope you enjoyed this walkthrough! If you like the video, hit like subscribe and leave a comment.
TimeStamp
0:00 - Intro
0:46 - Explaining problem statement
2:30 - Concept & Approach
3:04 - DFS (Dry Run)
5:55 - Time & Space Complexity
6:14 - Code
#LeetCode #codinginterview #coderscamp #whiteboardexplanation #FlattenBinaryTreetoLinkedList