Gulshan Kumarperfinsights.hashnode.dev·Apr 21, 2024Sum of Left LeavesGiven the root of a binary tree, return the sum of all left leaves. A leaf is a node with no children. A left leaf is a leaf that is the left child of another node. LeetCode Problem - 404 /** * Definition for a binary tree node. * public class Tree...DiscussJava SolutionJava
Simran Anandsimranblogss.hashnode.dev·Apr 20, 2024"Mastering Binary Search Trees: A Java Journey Through Efficient Data Structures"An elaborate blog article explaining the concepts of binary search tree, its various applications, operations that can be performed and example use cases with details covered in my YouTube video! Introduction A Binary Search Tree (BST) is a fundament...Discuss·10 likes·35 readsJava
Lucalijucay.hashnode.dev·Apr 16, 2024Bits & Beyond 4: Binary treesLast time, we learned about the basics of data structures. In this entry of Bits & Beyond, we will learn about binary trees. Binary trees are a part of data structures but given its amount of information, you have to learn, I decided to make an extra...DiscussBits & Beyond: Journey into programmingBinaryTrees
Dr. Joseph N. Fouadjosephnady.hashnode.dev·Apr 16, 2024Binary Trees (Data Structure)Hi there 👋. If you're reading this, you're in the right place. Thank you for stopping by! What is binary tree: Binary tree is the one of the nonlinear data structures. to understand the concept of binary tree we have to understand the following term...Discuss·2 likes·30 readsBinaryTrees
Sean Coughlinblog.seancoughlin.me·Apr 3, 2024Mastering Binary Tree Diameters: A LeetCode Guide for EngineersIn software engineering interviews, algorithmic challenges are not just tests of coding proficiency but also assessments of problem-solving depth and adaptability. Today, I'm delighted to explore one such intriguing problem from LeetCode: "Diameter o...Discuss·127 readsSWE Interview PreparationPython
Guryuvraj Singhguryuvraj.hashnode.dev·Mar 21, 2024LC 222: Count Complete Tree NodesQuestion Given the root of a complete binary tree, return the number of the nodes in the tree. According to Wikipedia, every level, except possibly the last, is completely filled in a complete binary tree, and all nodes in the last level are as far l...Discussleetcode
Nirbhay Singhnirbhaycodes.hashnode.dev·Mar 14, 2024Boundary Traversal of Binary TreeBoundary Traversal of Binary Tree Problem Link: https://www.codingninjas.com/studio/problems/boundary-traversal-of-binary-tree_790725?utm_source=striver&utm_medium=website&utm_campaign=a_zcoursetuf https://leetcode.com/problems/boundary-of-binary-t...DiscussDSA prepDSA
Sean Coughlinblog.seancoughlin.me·Mar 8, 2024Mastering LeetCode's Height-Balanced Binary Tree: A Comprehensive GuideIn the realm of software engineering interviews, the ability to tackle algorithm and data structure problems is a cornerstone of success. Today, I delve into the Height-Balanced Binary Tree problem (LeetCode 110 Balanced Binary Tree), a question that...DiscussSWE Interview PreparationPython
季球球wuhuang.hashnode.dev·Mar 5, 2024Inverting a Binary Tree with Recursion: A Step-by-Step ExplanationHave you ever come across a coding problem that seems simple at first glance, but then leaves you scratching your head when you dive into the recursive solution? Well, that's exactly how I felt when I was trying to invert a binary tree using recursio...Discussalgorithms
Hitendra Kumar Dewanganhided.hashnode.dev·Mar 2, 2024Navigating DSA: My Journey from February 2024February 2024 marked the kick-off of my Data Structures and Algorithms (DSA) journey – a dive into the intricate world of coding and problem-solving. I want to share a bit of the ride so far, with the completion of Binary Search and sorting methods i...DiscussDSA