Explore tweets tagged as #binarytree
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
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 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
๐ง 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
17
๐ 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 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
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
Day 124 ๐ณ.Solved key Binary Tree problems today:.โ
Level Order Traversal (BFS) โ iterative.โ
Symmetric Tree.โ
Path Sum.โ
Invert Binary Tree.Recursion + logic + structure = ๐ฅ.#DSA #BinaryTree #Recursion #Leetcode #100DaysOfCode #Sheryians
2
0
16
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 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 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
๐
๐๐๐ฒ-๐๐๐: ๐๐๐๐ฉ ๐๐ข๐ฏ๐ ๐ข๐ง๐ญ๐จ ๐๐ข๐ง๐๐ซ๐ฒ ๐๐ซ๐๐๐ฌ ๐ณ๐. ๐๐ข๐ญ๐ก๐ฎ๐: #Day164 #DSA #BinaryTree #Recursion #TreeTraversal #LeetCode #InterviewPrep #CodingDaily #ZigzagTraversal #BalancedTree
0
0
4
Day 29/100 of #100DaysOfCode.Solved โConvert Sorted Array to Binary Search Treeโ on LeetCode .โ
Used Divide & Conquer with mid-element logic.โ
Recursive BST construction.โ
Balanced tree from sorted array in O(n) time.#LeetCode #BinaryTree #CPP #DevLog
0
0
27
๐ณ Binary Tree learning continues!. โ๏ธ Checked if a tree is balanced using postorder. โ๏ธ Solved for Lowest Common Ancestor (LCA). Both key topics for tree-based coding rounds ๐ฑ.Learning with @lovebabbar3 .๐ฆ GitHub: #DSA #BinaryTree #letsconnect
0
0
4
Day 119 ๐ง โ Recursion & Backtracking (Ali Bhaiya's DSA).โ
Subsets II.โ
Letter Combinations of a Phone Number.โ
Combination Sum.Recursion logic โจ sharper than ever!.#DSA #BinaryTree #Backtracking #Recursion #Sheryians #100DaysOfCode
1
0
3