Diagonal Traversal of Binary Tree
Diagonal Traversal of Binary Tree sits in a file explorer. Neha’s job is folder on disk. Write that first.
For Diagonal Traversal of Binary Tree, Big-O is in play. Don’t blame it until you have traced folder on disk.
Diagonal Traversal of Binary Tree exists so Neha can keep folder on disk correct in a file explorer.
Neha ships Diagonal Traversal of Binary Tree in a file explorer. That is the use case worth saying.
Don’t do this with Diagonal Traversal of Binary Tree: unbalanced BST becoming a list. Interviewers spot it in ten seconds.
After Diagonal Traversal of Binary Tree, Neha should still remember unbalanced BST becoming a list.
One breath for Diagonal Traversal of Binary Tree, then folder on disk, then unbalanced BST becoming a list. Sit down.
Say Diagonal Traversal of Binary Tree in one breath, then left < root < right, then unbalanced BST becoming a list.