Leetcode By Shayan

Leetcode Solutions By Shayan

View on GitHub

Leetcode questions:

Binary Tree General

problem code solution my notes
🟢 Maximum Depth of Binary Tree js    
🟢 Same Tree python    
🟢 Invert Binary Tree python    
🟢 Symmetric Tree go    
🟡 Construct Binary Tree from Preorder and Inorder Traversal go    
🟡 Construct Binary Tree from Inorder and Postorder Traversal js    
🟡 Populating Next Right Pointers in Each Node II      
🟡 Flatten Binary Tree to Linked List      
🟢 Path Sum python    
🟡 Sum Root to Leaf Numbers php    
🔴 Binary Tree Maximum Path Sum      
🟡 Binary Search Tree Iterator      
🟢 Count Complete Tree Nodes python    
🟡 Lowest Common Ancestor of a Binary Tree      

Binary Tree - DFS

problem code solution my notes
🟢 Maximum Depth of Binary Tree js (DFS), go (recursive)    
🟢 Leaf-Similar Trees go    
🟡 Count Good Nodes in Binary Tree go   Â