Explore tweets tagged as #Binarytree
@M_Codes6
Muzamil Naik
27 days
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
Tweet media one
Tweet media two
0
0
12
@aadi_7375
Aaditya
4 hours
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
Tweet media one
Tweet media two
0
0
2
@M_Codes6
Muzamil Naik
26 days
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
Tweet media one
Tweet media two
0
0
2
@M_Codes6
Muzamil Naik
1 month
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
Tweet media one
Tweet media two
0
0
10
@M_Codes6
Muzamil Naik
1 month
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
Tweet media one
Tweet media two
0
0
7
@JAI_KUMAR_007
JAIKUMAR DEWANGAN
21 days
๐Ÿ”„ Bottom-Up Level Order Traversal (BFS) ๐ŸŒณ.๐Ÿ“ฅ Traverse level-by-level, but store from bottom. ๐Ÿง  TC: O(2n).๐Ÿ“ฆ SC: O(n) (for queue and result). #DSA #BinaryTree #LeetCode #TUF #GFG #X #Coding
Tweet media one
1
0
10
@iammrprakash29
Ayush Prakash Tiwari
2 days
โœ… 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
Tweet media one
Tweet media two
1
0
13
@M_Codes6
Muzamil Naik
30 days
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
Tweet media one
Tweet media two
0
0
3
@thakral_garvit
Garvit Thakral
18 days
๐Ÿš€ 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
Tweet media one
Tweet media two
Tweet media three
Tweet media four
0
0
5
@beyondbarrier_s
Aparna Singh
1 month
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
Tweet media one
Tweet media two
3
0
39
@XRodgriues26348
Xavier Rodgriues
6 days
๐Ÿง  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
Tweet media one
0
1
14
@beyondbarrier_s
Aparna Singh
1 month
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
Tweet media one
Tweet media two
1
1
47
@1tushartwt4
Tushar Saxena
29 days
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
Tweet media one
Tweet media two
0
1
3
@saxenajahnvi7
Jahnvi Saxena
24 days
"Day 93 of #gfg160 #geekstreak2025!.Found the Lowest Common Ancestor (LCA) - because every family tree needs a reunion point! ๐ŸŒณ #DSA #BinaryTree #CodingJourney
Tweet media one
7
0
46
@itscrazylokesh
lokesh choudhary Programmer
1 month
๐Ÿ“… ๐ƒ๐š๐ฒ-๐Ÿ๐Ÿ”๐Ÿ’: ๐ƒ๐ž๐ž๐ฉ ๐ƒ๐ข๐ฏ๐ž ๐ข๐ง๐ญ๐จ ๐๐ข๐ง๐š๐ซ๐ฒ ๐“๐ซ๐ž๐ž๐ฌ ๐ŸŒณ๐Ÿ”. ๐†๐ข๐ญ๐ก๐ฎ๐›: #Day164 #DSA #BinaryTree #Recursion #TreeTraversal #LeetCode #InterviewPrep #CodingDaily #ZigzagTraversal #BalancedTree
Tweet media one
0
0
4
@beyondbarrier_s
Aparna Singh
1 month
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
Tweet media one
Tweet media two
0
0
27
@gautamop01
GauTam
2 months
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
Tweet media one
1
0
6
@Adhya_khilosia
Adhya Khilosia
14 hours
๐ŸŒ 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
Tweet media one
1
0
16
@SilanSoftware
Silan Software Pvt. Ltd.
1 month
DSA using JAVA:."Excited to share an article on Binary Tree Traversal Implementation in Java!.#Java #DataStructures #Algorithms #BinaryTree #SoftwareDevelopment.
Tweet media one
0
0
0