sapfire955 Profile Banner
sapfire955 Profile
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
Don't wanna be here? Send us removal request.
@sapfire955
sapfire955
5 months
๐Ÿ“œ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
@sapfire955
sapfire955
5 months
๐Ÿ“œ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
@sapfire955
sapfire955
5 months
๐Ÿ“œ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
@sapfire955
sapfire955
5 months
๐Ÿ“œ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
@sapfire955
sapfire955
6 months
๐Ÿ“œ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
@sapfire955
sapfire955
6 months
๐Ÿ“œ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
@sapfire955
sapfire955
6 months
๐Ÿ“œ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
@sapfire955
sapfire955
6 months
๐Ÿ“œ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
@sapfire955
sapfire955
6 months
๐Ÿ“œ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
@sapfire955
sapfire955
6 months
๐Ÿ“œ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
@sapfire955
sapfire955
6 months
๐Ÿ“œ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
@sapfire955
sapfire955
6 months
๐Ÿ“œ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
@sapfire955
sapfire955
6 months
๐Ÿ“œ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
@sapfire955
sapfire955
6 months
๐Ÿ“œ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
@sapfire955
sapfire955
6 months
๐Ÿ“œ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
@sapfire955
sapfire955
6 months
๐Ÿ“œ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
@sapfire955
sapfire955
6 months
๐Ÿ“œ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
@sapfire955
sapfire955
6 months
๐Ÿ“œ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
@sapfire955
sapfire955
6 months
๐Ÿ“œ 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
@sapfire955
sapfire955
6 months
๐Ÿ“œ 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