Aayush ShahforAayush's Blogaaaaayushh.hashnode.net·Dec 11, 2022Binary Tree Maximum Sum PathHello and welcome back to the Leetcode daily series! Today's problem is a very intriguing one. It covers scary-sounding topics such as binary tree traversals and recursion. Take a look at the problem described below: Once we understand the definitio...Discuss·14 likes·33 readsLeetcode Daily Solutionsleetcode
Aayush ShahforAayush's Blogaaaaayushh.hashnode.net·Dec 10, 2022Maximum Product of a Splitted Binary TreeHello and welcome to the daily Leetcode problem series. This is the first problem I'm posting the solution to and hope to continue making daily posts after solving each Leetcode daily problem for the foreseeable future. The problem description is as ...Discuss·13 likes·50 readsLeetcode Daily Solutionsleetcode
Anurag PathakforAnurag Pathakanurag-pathak.hashnode.net·Mar 29, 2023Weird Traversals in Binary TreeLet's have a look at some more traversals which are not that standard but will help you to expand your control over Binary trees. Spiral Traversal In this traversal, we need to print the nodes in a zig-zag format. As you can see in the above example...Discuss·10 likes·128 readsBinary TreesBinaryTrees
Adarsh GogineniforAdarsh Gogineni's blogayydarsh.hashnode.net·Apr 16, 2023LeetCode #226: Invert Binary TreeI believe that regularly tackling LeetCode problems is an effective way to grow one's coding skills. Through this blog, my goal is to share my journey and insights with fellow enthusiasts, providing a deeper understanding of the problem-solving proce...DiscussPython
Adarsh GogineniforAdarsh Gogineni's blogayydarsh.hashnode.net·Apr 11, 2023LeetCode #104: Maximum Depth of Binary Tree - PythonI believe that regularly tackling LeetCode problems is an effective way to grow one's coding skills. Through this blog, my goal is to share my journey and insights with fellow enthusiasts, providing a deeper understanding of the problem-solving proce...DiscussPython
Anurag PathakforAnurag Pathakanurag-pathak.hashnode.net·Mar 31, 2023Different views of a Binary Tree.Some Properties of Binary Trees Let's understand some properties of the binary tree required to tackle the problems related to the view of binary trees. Every node has at most two children. Every child is inclined to 45° with the horizontal line di...Discuss·160 readsBinary TreesTree
Anurag PathakforAnurag Pathakanurag-pathak.hashnode.net·Mar 29, 2023Weird Traversals in Binary TreeLet's have a look at some more traversals which are not that standard but will help you to expand your control over Binary trees. Spiral Traversal In this traversal, we need to print the nodes in a zig-zag format. As you can see in the above example...Discuss·10 likes·128 readsBinary TreesBinaryTrees
Anurag PathakforAnurag Pathakanurag-pathak.hashnode.net·Mar 28, 2023Introduction to Binary TreeTypes of Binary Tree. Full Binary Tree, Every Node with either 0 or 2 children. Complete Binary Tree, All levels are filled except the last level. The last level is filled from left to right. Perfect Binary Tree, All leaf nodes are at the s...Siddhartha Bajpai and 2 others are discussing this3 people are discussing thisDiscuss·2 likes·88 readsBinary TreesBinaryTrees
Preeti samuelforPreeti Samuelkamilapreetisamuel.hashnode.net·Mar 22, 2023What is the Difference Between the Full Binary Tree and the Complete Binary Tree?binary tree Hello and welcome to my blog! I am thrilled to have you here and I hope you are enjoying the content that I am sharing. My main goal with this blog is to provide useful information on various topics, from web development to technology and...DiscussBinaryTrees
UHforUH's bloguh.hashnode.net·Mar 14, 2023Leetcode 129 || Sum Root to Leaf NumbersProblem Link https://leetcode.com/problems/sum-root-to-leaf-numbers/ Discussion As input, the root of a binary tree is given. What we need to do that, Explore all the paths from the root to the leaf Each root->leaf makes a number, need to take all ...DiscussDaily LeetCode Challenge
Suman Mannafor<IAMSUMAN/>sumanmanna.hashnode.net·Jan 29, 2023Binary Tree<T> implementation using DartBinary trees are a fundamental data structure in computer science, often used for searching and sorting algorithms. They are a tree-like data structure where each node can have at most two children, referred to as the left and right children. Here is...Discuss·92 readsData Structures and Algorithm using dartBinaryTrees
Geeky Girlforgeekygrl.hashnode.net·Dec 14, 2022Binary TreeTraversals Preorder (DFS) Operations order: root -> left -> right Inorder (DFS) Operations order: left -> node -> right Postorder (DFS) Operations order: reft -> right -> root Operations order: right -> left -> root [Reverse post order] ...Discuss·29 readsBinaryTrees
Geeky Girlforgeekygrl.hashnode.net·Dec 14, 2022Introduction - TreeDefinition A tree is a data structure that is commonly used in computer science to store and organize data in a hierarchical manner. At the top of the tree is a root node, which branches out into multiple child nodes. Each child node can then have i...DiscussTree