Explore tweets tagged as #BinaryTree
Day 92 โ
| #gfg160 Challenge @geeksforgeeks.๐ Solved: Fix Swapped Nodes in BST.๐ฏ Approach: Single-pass Inorder Traversal using Recursion and 4 Pointers.๐ T: O(n) | S: O(h) (due to recursion stack).๐ More in ALT. #Python #DSA #100DaysOfCode #GeekStreak2025 #BinaryTree
0
0
12
Day 80 โ
| #gfg160 Challenge @geeksforgeeks.๐Solved: Level Order Traversal ๐ณ.๐ฏGoal: Traverse a binary tree level by level from left to . right.๐ฏApproach: Breadth-First Search (BFS).๐ T: O(n) | S: O(n) โ . ๐ALT. #Python #DSA #100DaysOfCode #GeekStreak2025 #BFS #BinaryTree
0
0
10
Day 84 โ
| #gfg160 Challenge @geeksforgeeks.๐Solved: Construct Tree from Inorder & Preorder ๐ณ.โ
Using: Pre-order traversal & Hash map.๐ฏ Goal: Rebuild binary tree from traversal arrays .๐ T: O(n) | S: O(n). ๐ More ALT. #Python #DSA #BinaryTree #100DaysOfCode #GeekStreak2025
0
0
7
Day 93 โ
| #gfg160 Challenge @geeksforgeeks.๐ Solved: Lowest Common Ancestor in a BST.๐ฏ Goal: Find the LCA of two nodes in a Binary Search Tree.๐ฏ Approach: Iterative.๐ T: O(h) | S: O(1) .๐ More in ALT. #Python #DSA #100DaysOfCode #GeekStreak2025 #BinaryTree #BST
0
0
2
๐ง Yesterday was a power-packed session with @ali_In_bits sir !.๐ Got an amazing explanation of the BFS algorithm and solved multiple tree questions hands-on. Feeling way more confident with level order traversal & queues! ๐ช.#BFS #BinaryTree #javascriptๅ
ฅ้่ฌๅบง #DSA
0
1
13
Day 125 ๐ฒ.Solved some cool Binary Tree view-based problems:.๐ Diameter of Binary Tree.๐ Left View.๐ Right View.๐ Top View.๐ป Bottom View.Visualizing trees from all sides!.#DSA #BinaryTree #Views #Recursion #100DaysOfCode #Sheryians
1
1
16
Day 86 of #GFG160.๐ณ Tree Boundary Traversal.Printed the boundary in this order:.1๏ธโฃ Left boundary (excluding leaves).2๏ธโฃ Leaf nodes (L to R).3๏ธโฃ Right boundary (excluding leaves, reversed).๐ O(n) | ๐ฆ O(h).#DSA #Java #BinaryTree #100DaysOfCode #GFG160
0
0
3
Day 89 โ
| #gfg160 Challenge @geeksforgeeks.๐ Solved: Check if BT is a BST. ๐ฏ Approach: Morris Inorder Traversal. ๐ T: O(n) | S: O(1) . ๐More in ALT. #Python #DSA #100DaysOfCode #GeekStreak2025 #BinaryTree #BST
0
0
4
๐ Just solved 4 more DSA problems:. BST Iterator.Recover BST.BST from Preorder.Populating Next Right Pointers. Grinding LeetCode every day โ step by step!. #LeetCode #100DaysOfCode #DSA #Coding #Java #BinaryTree #DataStructures #Algorithms
0
0
5
Day 30/100 of #100DaysOfCode.Solved: Find Target Sum in BST ๐ฏ.Used inorder traversal to convert BST to sorted array.โ
Applied 2-pointer technique to find pair with sum = k.โ
Strengthened BST + array logic.#LeetCode #CPP #DSA #BinaryTree #Coding #ProblemSolving
3
0
39
Day 16 of #100DaysOfCode .โ
Todayโs Problems: .1. Valid Number.2. Count the Number of Arrays with K Matching Adjacent Elements(POTD) . #DSA #Algorithms #VIT #POTD #Strings #Binarytree #DrGVishwanathan #Leetcode #codedaily #DP
0
1
3
Day 27/100 of #100DaysOfCode.Solved โConstruct Binary Tree from Inorder & Postorderโ using O(n) approach. โ
Used unordered_map for fast index lookup.โ
Recursive tree building with postIndex backtracking.โ
Clean & efficient buildTree implementation!.#LeetCode #DSA #BinaryTree
1
1
47
๐
๐๐๐ฒ-๐๐๐: ๐๐๐๐ฉ ๐๐ข๐ฏ๐ ๐ข๐ง๐ญ๐จ ๐๐ข๐ง๐๐ซ๐ฒ ๐๐ซ๐๐๐ฌ ๐ณ๐. ๐๐ข๐ญ๐ก๐ฎ๐: #Day164 #DSA #BinaryTree #Recursion #TreeTraversal #LeetCode #InterviewPrep #CodingDaily #ZigzagTraversal #BalancedTree
0
0
4
"Day 93 of #gfg160 #geekstreak2025!.Found the Lowest Common Ancestor (LCA) - because every family tree needs a reunion point! ๐ณ #DSA #BinaryTree #CodingJourney
7
0
46
Day 85 of #gfg160 โ
| #GeekStreak2025.๐ฟ Solved: Inorder Traversal of Binary Tree.๐ Method: Recursive Traversal (Left โก๏ธ Root โก๏ธ Right).โฑ Time: O(N), Space: O(H).๐ง Key Idea: Classic DFS approach using recursion.#DSA #Java #BinaryTree #Recursion #GeeksForGeeks #DailyDSA
5
0
18
๐ Day 126 of #180DaysOfCoding ๐. Today's Focus:.โ
Minimum Time to Burn a Binary Tree from a Node. I tackled the problem of calculating the minimum time to burn a binary tree starting from a given node. #BinaryTree #DataStructures #Algorithms #Java #LeetCode #100DaysOfCode #DSA
0
1
4
๐ Day 139 of #180DaysOfCoding ๐. โ
235. Lowest Common Ancestor of a Binary Search Tree. Today, I explored finding the Lowest Common Ancestor (LCA) in a Binary Search Tree ๐ณ. #BinaryTree #BST #Java #LeetCode #100DaysOfCode #DSA #letsconnect #connect
1
0
16
DSA using JAVA:."Excited to share an article on Binary Tree Traversal Implementation in Java!.#Java #DataStructures #Algorithms #BinaryTree #SoftwareDevelopment.
0
0
0