Back to Browse

Binary Tree Problems For Technical Interview | Size of Binary Tree | Height of Binary Tree

80.5K views
Feb 23, 2024
1:44:38

Trees | Binary Tree | Data Structure and Algorithm | 180daysofcode 1: Level order traversal: https://www.geeksforgeeks.org/problems/level-order-traversal/1?page=1&difficulty%5B%5D=0&category%5B%5D=Tree&sortBy=submissions 2: Size of Binary Tree: https://www.geeksforgeeks.org/problems/size-of-binary-tree/1?page=1&difficulty%5B%5D=-1&category%5B%5D=Tree&sortBy=submissions 3: Sum of Binary Tree: https://www.geeksforgeeks.org/problems/sum-of-binary-tree/1?page=1&difficulty%5B%5D=-1&category%5B%5D=Tree&sortBy=submissions 4: Count Leaves in Binary Tree: https://www.geeksforgeeks.org/problems/count-leaves-in-binary-tree/1?page=1&difficulty%5B%5D=-1&category%5B%5D=Tree&sortBy=submissions 5: Count Non-Leaf Nodes in Tree: https://www.geeksforgeeks.org/problems/count-non-leaf-nodes-in-tree/1?page=1&difficulty%5B%5D=-1&category%5B%5D=Tree&sortBy=submissions 6: Height of Binary Tree: https://www.geeksforgeeks.org/problems/height-of-binary-tree/1?page=1&difficulty%5B%5D=0&category%5B%5D=Tree&sortBy=submissions 7: Largest value in each level: https://www.geeksforgeeks.org/problems/largest-value-in-each-level/1?page=4&difficulty%5B%5D=0&category%5B%5D=Tree&sortBy=submissions 00:00 Introduction 00:45 Problem 1 - Level Order Traversal 13:32 Calculating Time and Space Complexity 18:34 Code Part - Implementing Level Order Traversal 20:21 How to Calculate Pre-Order,Post-Order and In-Order by seeing a Binary Tree Diagram. 29:51 Problem 2 - Method 1 - Size of Binary Tree 38:54 Method 2 - Size of Binary Tree 46:46 Code Part - Method 1- Size of Binary Tree 48:48 Code Part - Method 2- Size of Binary Tree 50:22 Problem 3 - Method 1 - Sum of Binary Tree 55:27 Method 2 - Sum of Binary Tree 1:00:30 Code Part - Method 1 - Sum of Binary Tree 1:02:49 Code Part - Method 2 - Sum of Binary Tree 1:04:48 Problem 4 - Count Leaves of Binary Tree 1:15:44 Code Part - Count Leaves of Binary Tree 1:20:03 Problem 5 - Count Non Leaf Nodes 1:27:01 Code Part - Count Non Leaf Nodes 1:28:44 Problem 6 - Height of Binary Tree 1:41:39 Code Part - Height of Binary Tree 1:43:00 Problem 7 - Largest Value in each Level - Homework/Last Note Home work sheet: https://drive.google.com/drive/folders/1N9UUtFHRe5a8h1vq3iEVEyvXM5sZDRHv?usp=sharing Join Our Whatsapp Channel: https://whatsapp.com/channel/0029Va6H0tbHVvTbcuT99Y1f Day 151/180, #180daysofcode #180 hard We are doing 180 days challenge and going to complete the whole course within the duration with quality content on Youtube. I am on the mission to create a tech revolution in our country and in upcoming future we want to create a tech which will create many jobs in India. Video will come on Mon-Fri at 6am in the morning DSA Course for free C++ Free Course Rohit Negi DSA Course C++ Coder Army DSA Course c++ Function in C++ Pointers in C++. Strings Vector Introduction to Recursion connect to me on Instagram: https://rohit978.page.link/insta Linkedin: https://rohit978.page.link/linkedin Telegram: https://rohit978.page.link/telegram

Download

1 formats

Video Formats

360pmp4424.4 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Binary Tree Problems For Technical Interview | Size of Binary Tree | Height of Binary Tree | NatokHD