sapfire955
@sapfire955
Followers
5
Following
184
Media
103
Statuses
111
๐ค Madridista โฝ | FIFA = Brazil ๐ง๐ท | Tech geek ๐ค | Hackathon hopper ๐ก | Binge-watcher ๐ฌ | Anime addict ๐บ | UI/UX ๐จ | Caffeine-fueled chaos โ๐ฅ
India
Joined February 2020
๐Day 99 of #gfg160 Solved โParenthesis Checkerโ today! โ
Used a stack to validate balanced brackets in a string โ loved how clean & efficient it feels for such problems! Thanks @geeksforgeeks ๐ #DSA #Stack #Java #geekstreak2025 #100DaysOfCode
0
0
2
๐Day 98 of #gfg160 Solved โFind Median in a Streamโ today! โ
Used two heaps (Max + Min) to dynamically track the median as numbers streamed in ๐ Loved how #PriorityQueue simplifies this in #Java ๐ก Thanks @geeksforgeeks ๐ #DSA #Heap #Stream #geekstreak2025
0
0
2
๐Day 97 of #gfg160 Solved โMerge K Sorted Linked Listsโ today! โ
Used Min Heap to efficiently combine K sorted linked lists into one ๐ Loved how #PriorityQueue helps in optimizing merge ops! ๐ง Thanks @geeksforgeeks ๐ #DSA #LinkedList #Heap #Java #geekstreak2025
0
0
1
๐Day 96 of #gfg160 Solved โK Closest Points to Originโ today! โ
Used Max Heap to track the k nearest points using Euclidean distance ๐ Great application of PriorityQueue! Thanks @geeksforgeeks ๐ #DSA #Heap #Geometry #Java #geekstreak2025 #Arrays
0
0
1
๐Day 95 of #gfg160 Solved โK Largest Elementsโ today! โ
Learned how to use Min Heap to efficiently track top-k elements in an array ๐ข Great practice for priority queues & optimization! Thanks @geeksforgeeks ๐ #DSA #Heap #Arrays #geekstreak2025 #Java
1
0
1
๐Day 94 of #gfg160 Solved โSerialize and Deserialize a Binary Treeโ today! โ
Learned how to encode tree structure into an array & rebuild it using BFS ๐ณ Great for understanding tree reconstruction! Thanks @geeksforgeeks ๐ #DSA #BinaryTree #Serialization #geekstreak2025
0
0
1
๐Day 93 of #gfg160 Solved โLowest Common Ancestor in a BSTโ today! โ
Used BST properties to locate the LCA efficiently in O(h) โฑ๏ธ A classic DSA gem that sharpens tree thinking ๐ณ Thanks @geeksforgeeks ๐ #DSA #BinarySearchTree #LCA #geekstreak2025
0
0
1
๐Day 92 of #gfg160 Solved โFixing Two nodes of a BSTโ today! โ
Used inorder traversal to detect misplaced nodes ๐ก Swapped back the corrupted pair without changing tree structure ๐ณ Hard one but satisfying! Thanks @geeksforgeeks ๐ #DSA #BinarySearchTree #geekstreak2025
0
0
1
๐Day 91 of #gfg160 Solved โPair Sum in BSTโ today! โ
Used DFS + HashSet to catch complements in real-time! ๐ฏ Classic BST + hashing combo ๐ก Edge case: No such pair? Return false. Thanks @geeksforgeeks ๐ #DSA #BinarySearchTree #geekstreak2025
0
0
1
๐Day 90 of #gfg160 Solved โk-th Smallest in BSTโ today! โ
Used in-order DFS to fetch elements in sorted order and grabbed the k-th one. ๐ฟ Classic BST property in action! Edge case: k > node count โ return -1. Thanks @geeksforgeeks ๐ #DSA #geekstreak2025 #BinarySearchTree
0
0
1
๐Day 89 of #gfg160 Solved โCheck for BSTโ today! โ
Used DFS with value range validation (min < node < max) to ensure left < root < right across all nodes. ๐ณ No duplicates allowed = extra care! Fun and crisp problem! Thanks @geeksforgeeks ๐ #DSA #geekstreak2025 #BinaryTree
0
0
1
๐Day 88 of #gfg160 Solved the K Sum Paths in a Binary Tree today! ๐ณ Leveraged DFS + prefix sum hashmaps to efficiently count downward-only paths summing to k. Loved the challenge of handling all subpaths, not just root-based ones! Thanks @geeksforgeeks ๐ #DSA #geekstreak2025
0
0
1
๐Day 87 of #gfg160 Tackled the Maximum Path Sum from Any Node in a Binary Tree today! ๐ฒ Used post-order traversal + global max tracking to crack it. Loved the twist where the path doesnโt need to start or end at root! Thanks @geeksforgeeks ๐ #DSA #Java #geekstreak2025
0
0
1
๐Day 86 of #gfg160 Explored Boundary Traversal of a Binary Tree today! ๐ณ Covered left boundary โก๏ธ leaves โก๏ธ reversed right boundary. Learned how to skip duplicates & handle edge cases. Thanks @geeksforgeeks ๐ #DSA #BinaryTree #geekstreak2025 #TreeTraversal #Java
0
0
1
๐Day 85 of #gfg160 Tackled Inorder Traversal of a Binary Tree today! ๐ณ Used both recursion & Morris Traversal for O(1) space. Solidified the LNR traversal logic ๐ก Simple problem, powerful concept! Thanks @geeksforgeeks ๐ #DSA #BinaryTree #Recursion #geekstreak2025
0
0
1
๐Day 84 of #gfg160 Built a Binary Tree from Inorder & Preorder arrays today!๐ฟ Used recursive DFS with HashMap for efficient lookups. Output in postorder traversal ๐ง Challenging but super satisfying! Thanks @geeksforgeeks ๐ #DSA #BinaryTree #Recursion #geekstreak2025
0
0
1
๐Day 83 of #gfg160 Tackled Mirror Tree today! Used a simple recursive post-order DFS to swap left & right at every nodeโclean, elegant, and efficient. ๐ช๐ณ Binary trees feel less intimidating with each day! Thanks @geeksforgeeks ๐ #DSA #BinaryTree #Recursion #geekstreak2025
0
0
1
๐Day 82 of #gfg160 Cracked Diameter of a Binary Tree today! ๐ Used post-order DFS to track heights & update max path length (in edges) between any two nodes. Recursive + efficient! Feels great to see things connect! Thanks @geeksforgeeks ๐ #DSA #BinaryTree #geekstreak2025
0
0
1
๐ Day 81 of #gfg160 Tackled Height of Binary Tree today! ๐ฒ Used recursion to dive deep from root to leaf & count the longest path in edges. Simple, clean & elegant DFS-style. ๐ Loving the momentum! Thanks @geeksforgeeks ๐ #DSA #BinaryTree #DFS #geekstreak2025
0
0
1
๐ Day 80 of #gfg160 Cracked Level Order Traversal today ๐ณ Used BFS with a queue to traverse level by level โ clean, structured, and efficient! ๐ A great breather after yesterdayโs DFS grind ๐ Thanks @geeksforgeeks ๐ #DSA #BFS #BinaryTree #geekstreak2025
0
0
2