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
Day38 of #100DaysOfCode .-LCA in a Binary Search Tree.-LCA in a Binary Tree.-construct a BST from preorder traversal.-inorder successor/predecessor in BST. #DSA #binaryTree
0
0
2
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 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
โ
Solved Leetcode 101 - Symmetric Tree today!.Used recursion to check if left & right subtrees mirror each other perfectly ๐ฒ๐ช๐ฒ.๐ isMirror(left, right) FTW!. #Leetcode #100DaysOfCode #cpp #Coding #Recursion #DSA #BinaryTree
1
0
13
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
3
๐ 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
๐ง 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
14
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 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
๐
๐๐๐ฒ-๐๐๐: ๐๐๐๐ฉ ๐๐ข๐ฏ๐ ๐ข๐ง๐ญ๐จ ๐๐ข๐ง๐๐ซ๐ฒ ๐๐ซ๐๐๐ฌ ๐ณ๐. ๐๐ข๐ญ๐ก๐ฎ๐: #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
POD โ
: Root to Leaf Paths โ Solved!.I had solved this one a long time ago, but revisited it today. Tried 2โ3 approaches, including DFS & BFS. Relearned the trade-offs, recursion tricks, and how traversal order affects the output. Feels good to crack it again!.#DSA #BinaryTree
1
0
6
๐ Hi, community!. Day 90/160 of the #GFG160Challenge: Check if a Binary Tree is a BST โ
๐ณ.๐ Time Complexity: O(n).๐ฆ Space Complexity: O(h) (due to recursion stack).#WomenInTech #GFG160 #GeeksforGeeks #DSAChallenge #GeekStreak2025 #BinaryTree
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