#binarytree 搜尋結果
Day 64 of DSA 🌳 Today I learned Preorder, Inorder, and Postorder Tree Traversals using recursion. It’s amazing how just a few lines of code can perform such magical operations on a tree — absolutely mind-blowing! ⚡🔥 #DSA #BinaryTree #Recursion #CodingJourney #100DaysOfCode
Day 74 of DSA 🌳 Solved the Balanced Binary Tree problem today. Learned how to check if a binary tree is height-balanced using a bottom-up DFS approach — efficient and elegant! 💡 #100DaysOfCode #DSA #BinaryTree
#BinaryTree #DSA POTD: minimum time to burn the tree from a given node Approach: =>create a map to track each node's parent =>locate the target node =>From the target node, burn its left, right, and parent then count all levels by boolean var. with complexity of O(n)
🗓️Day 77/100 #100DaysOfCode with @GeeksforGeeks 🚀 #BinaryTree in #DSA ✅Type of Trees ✅Introduction to Binary Tree ✅Types of Binary Tree #MongoDB in #WebDev ✅Revised 🔗Course Link: geeksforgeeks.org/nation-skill-u… #skillupwithgfg #nationskillup #100DaysOfDSA #geeksforgeeks #gfg
Day 29 #LeetCode75 Problem: 236. Lowest Common Ancestor Idea: Find the deepest node that’s ancestor of both p & q Return NULL if node is NULL. Return node if it’s p or q. Explore left & right. If both return non-NULL → current node is LCA. #DSA #BinaryTree #CodingJourney #MIET
✅ Day 145 – Maximum Depth of Binary Tree Solved: Max Depth of Binary Tree (LC 104) Used BFS to compute tree depth efficiently 🌳 All test cases passed with 0 ms runtime ⚡ #100DaysOfCode #LeetCode #BinaryTree
✅ Day 146 – Diameter of Binary Tree Solved: Diameter of Binary Tree (LC 543) Used DFS with post-order traversal to compute max path length 🔄 Clean logic, passed all cases in 0 ms! 💡 #100DaysOfCode #LeetCode #BinaryTree
🗓️Day 85/100 #100DaysOfCode with @GeeksforGeeks 🚀 #BinaryTree ✅Lowest Common Ancestor #binarysearchtree ✅Introduction ✅Insertion ✅Searching ✅Sorted Elements ✅Minimum Element 🔗Course Link: geeksforgeeks.org/nation-skill-u… #skillupwithgfg #nationskillup #DSA #geeksforgeeks #gfg
✅ Day 143 – Tree Traversals Solved: Preorder (LC 144) Inorder (LC 94) Postorder (LC 145) Mastered recursive DFS & traversal logic 💡 🧪 All test cases passed ✅ #100DaysOfCode #LeetCode #BinaryTree
✅ Day 144 – Binary Tree Level Order Traversal Solved: Level Order Traversal (LC 102) Mastered BFS using queue & level-wise traversal 🌲 🧪 All test cases passed ✅ #100DaysOfCode #LeetCode #BinaryTree
Day 4 – Trees🌳 ✅ Bottom View of Binary Tree ✅ Right/Left View of Binary Tree ✅ Symmetric Binary Tree ✅ Root-to-Node Path in Binary Tree PS: After 2–3 problems I start feeling bored/frustrated Need to fix this. Any suggestions, folks? #coding #DSA #BinaryTree #Developer
Day 87 of #100DaysOfCode I resumed my DSA journey after college! Implemented Tree Traversals on a Binary Tree: Preorder, Inorder, Postorder, Level Order traversal Pushed the code to GitHub. Did less due to college work, but more to come tomorrow! #Cplusplus #BinaryTree #DSA
Day 65/100: Cracking Binary Tree Problems with Java 94. Binary Tree Inorder Traversal 144. Binary Tree Preorder Traversal #100DaysOfCode #JavaDeveloper #BinaryTree #PreorderTraversal #DSA #Recursion #DepthFirstSearch #LeetCode #ProblemSolving #CleanCode #TechCareer #connect
Solved two similar-looking but fundamentally different #BinaryTree problems! 1: Largest BST Subtree (by size) 2: LeetCode 1373: Maximum Sum BST in Binary Tree🔍 Key Insight: #100DaysOfCode #LeetCode #Java #DSA
🚀Day 2 - Question 1 Solved Bottom View of Binary Tree today! 🌳✨ Used BFS + column mapping to ensure each vertical line shows the lowest visible node. Clean, efficient & passed all edge cases 💯🔥 #DSA #Coding #Java #LeetCode #100DaysOfCode #Programmer #TechTwitter #WomenInTech
LeetCode Grind: Invert Binary Tree Invert a binary tree? Completed it, mate. As with all recursion questions, I kind of just started typing and it magically solved the test cases. Basically each iteration works with a smaller subtree, and eventually you are inverting…
Binary Search Tree is just a smart way to store numbers so you can find anything super fast.Small numbers go left, big numbers go right. That’s it.
B Tree The core idea about this form of tree is that it is self-balancing A binary search tree, another form of tree, usually demands a logarithmic runtime when u want to perform a lookup or insert. The problem with BST is that once you add data into it, it becomes unbalanced 🧵
✅Revised Level Order Traversal on @geeksforgeeks 🌿 👨💻Clean logic, calm mind, steady progress ✨ #DSA #GFG #BinaryTree #CodingJourney #100DaysOfCode
Day 65 of #100DaysOfCode ✅ - 105. Construct Binary Tree from Preorder and Inorder Traversal - 114. Flatten Binary Tree to Linked List #LearnInPublic #LeetCode #DSA #geeksforgeeks
BITを使う問題を纏めた。 自分が競プロを始めてすぐの頃は、転倒数の理解に苦しんだので、そこでも分類してみた。 shiki-sci.jp/kyopro/binary-…
shiki-sci.jp
競プロBIT練習問題
Binary Indexed Tree(Fenwick Tree)で解く問題を纏めたもの。
Day 95 of #100DaysOfCode: Today solved Right View of Binary Tree on #GFG Used level-order BFS, tracked the last node of each level, and collected them in a vector. #coding #CodingJourney #Tree #BFS #LeetCode
Check out this study on bias in weighted least absolute deviation estimation for BAR(1) models—commonly used in #BinaryTree data such as cell lineage analyses. 📉Authors introduce two bootstrap-based bias-corrected estimators, which greatly reduce bias 📖 brnw.ch/21wXFCr
Today's Learning 🌱 Revising Binary Trees – Take U Forward (TUF) #DSA #BinaryTree #Striver #TakeUForward #CodingJourney
Ever wondered what a binary tree looks like from the right side? 🌳 Here’s how to solve LeetCode 199 – Binary Tree Right Side View using DFS in C++! 🎥 Watch now 👉 youtu.be/a3IiFVr-15A #LeetCode #Cplusplus #BinaryTree #CodingInterview #LANAcademy
Two binary trees — same or not? Most people guess wrong the first time 👀 Watch this step-by-step C++ explanation and see how recursion solves it cleanly. 🎥 youtu.be/OUmBf10UDLA #LeetCode #Cplusplus #BinaryTree #CodingInterview #LANAcademy #learnprogramming
youtube.com
YouTube
Are These Trees the Same? 🌿 | LeetCode 872 in C++
🌟 Day 225/∞ 🚀 Solved Count Complete Tree Nodes 🌳🔢 💡 Used DFS for basic counting and an optimized binary search + height check approach for complete trees. Time Complexity: O((log n)²) | Space: O(h) ⚡ #LeetCode #DSA #BinaryTree #BinarySearch #DFS #CodeEveryday #KeepCoding
Binary search trees are an essential data structure in programming. They can keep the data sorted while supporting fast searches and updates. The main things to know about them are how to search, insert and delete a key. All of them depend on the BST property. If you think…
Day 64 of DSA 🌳 Today I learned Preorder, Inorder, and Postorder Tree Traversals using recursion. It’s amazing how just a few lines of code can perform such magical operations on a tree — absolutely mind-blowing! ⚡🔥 #DSA #BinaryTree #Recursion #CodingJourney #100DaysOfCode
Day 74 of DSA 🌳 Solved the Balanced Binary Tree problem today. Learned how to check if a binary tree is height-balanced using a bottom-up DFS approach — efficient and elegant! 💡 #100DaysOfCode #DSA #BinaryTree
🗓️Day 77/100 #100DaysOfCode with @GeeksforGeeks 🚀 #BinaryTree in #DSA ✅Type of Trees ✅Introduction to Binary Tree ✅Types of Binary Tree #MongoDB in #WebDev ✅Revised 🔗Course Link: geeksforgeeks.org/nation-skill-u… #skillupwithgfg #nationskillup #100DaysOfDSA #geeksforgeeks #gfg
🗓️Day 85/100 #100DaysOfCode with @GeeksforGeeks 🚀 #BinaryTree ✅Lowest Common Ancestor #binarysearchtree ✅Introduction ✅Insertion ✅Searching ✅Sorted Elements ✅Minimum Element 🔗Course Link: geeksforgeeks.org/nation-skill-u… #skillupwithgfg #nationskillup #DSA #geeksforgeeks #gfg
Day 29 #LeetCode75 Problem: 236. Lowest Common Ancestor Idea: Find the deepest node that’s ancestor of both p & q Return NULL if node is NULL. Return node if it’s p or q. Explore left & right. If both return non-NULL → current node is LCA. #DSA #BinaryTree #CodingJourney #MIET
✅ Day 145 – Maximum Depth of Binary Tree Solved: Max Depth of Binary Tree (LC 104) Used BFS to compute tree depth efficiently 🌳 All test cases passed with 0 ms runtime ⚡ #100DaysOfCode #LeetCode #BinaryTree
#Day176/365 From @striver_79’s A2Z Sheet 🌳 1️⃣ Serialize and Deserialize Binary Tree #DSA #BinaryTree
✅ Day 146 – Diameter of Binary Tree Solved: Diameter of Binary Tree (LC 543) Used DFS with post-order traversal to compute max path length 🔄 Clean logic, passed all cases in 0 ms! 💡 #100DaysOfCode #LeetCode #BinaryTree
#BinaryTree #DSA todays potd: => check balanced tree(if the height difference between the left and right subtrees of every node is at most 1) =>check identical =>check sumtree(root->data=left+right subtrees) with tc of O(n) also revised some queue concepts
#BinaryTree #DSA POTD: minimum time to burn the tree from a given node Approach: =>create a map to track each node's parent =>locate the target node =>From the target node, burn its left, right, and parent then count all levels by boolean var. with complexity of O(n)
✅ Day 143 – Tree Traversals Solved: Preorder (LC 144) Inorder (LC 94) Postorder (LC 145) Mastered recursive DFS & traversal logic 💡 🧪 All test cases passed ✅ #100DaysOfCode #LeetCode #BinaryTree
Day 87 of #geekstreak2024 🔹 Max Path Sum (Any Node to Any Node) 🔹 Approach: Recursively compute max sum at each node, considering left & right subtrees. 🔹 TC: O(N), SC: O(H) #gfg160 #BinaryTree #DSA
Today solve 2 problems on Leet Code 1.[404] Sum of Left Leaves 2.[112] Path Sum #DSA #binarytree #java #coding #ProblemSolving
Today solve 3 problems on Leet Code 1. [95] Unique Binary Search Tree 2. [98] Validate Binary Search Tree 3. [129] Sum Root to Leaf Numbers #DSA #binarytree #java #coding #ProblemSolving
✅ Day 144 – Binary Tree Level Order Traversal Solved: Level Order Traversal (LC 102) Mastered BFS using queue & level-wise traversal 🌲 🧪 All test cases passed ✅ #100DaysOfCode #LeetCode #BinaryTree
Day 85 of #geekstreak2024 🔹 Inorder Traversal 🔹 Approach: Recursion 🔹 TC: O(N), SC: O(N) (Aux Stack) 🔹 Left → Root → Right #gfg160 #BinaryTree #DSA
Day 275 of #LeetCode: Cousins in Binary Tree II 🌳👨👩👧👦. Learning something new each day through these binary tree challenges! #LeetCodeChallenge #BinaryTree #Coding
Something went wrong.
Something went wrong.
United States Trends
- 1. Spotify 1.29M posts
- 2. #WhyIChime N/A
- 3. Chris Paul 40.2K posts
- 4. Clippers 55.1K posts
- 5. Ty Lue 5,181 posts
- 6. Hartline 13.9K posts
- 7. Giannis 25.9K posts
- 8. Apple Music 234K posts
- 9. Henry Cuellar 11K posts
- 10. SNAP 168K posts
- 11. ethan hawke 6,685 posts
- 12. #HappyBirthdayJin 119K posts
- 13. David Corenswet 10.6K posts
- 14. Lawrence Frank 3,972 posts
- 15. Jonathan Bailey 11.5K posts
- 16. Duncan 8,187 posts
- 17. Jack Smith 22.9K posts
- 18. Chris Henry Jr 3,044 posts
- 19. Courtois 7,062 posts
- 20. Garcelle N/A