Filter
Exclude
Time range
-
Near
πŸš€ #Day51 of #LeetCode75 πŸ“Œ 208. Implement Trie (Prefix Tree) 🧠 Intuition: Store words as paths β†’ shared prefixes = faster search ⏱️ TC: O(n) πŸ’Ύ SC: O(N*M) πŸ’‘ Tries = backbone of autocomplete πŸ”₯ Consistency builds skill. #DSA #Coding #Developer #cohort3.0 @sheryians_
1
πŸš€ Day 49 of #LeetCode75 🌳 Binary Tree BFS Q1161: Maximum Level Sum πŸ’‘ Not every deeper level is stronger β€” measure level by level! βš™οΈ BFS β†’ compute sum per level β†’ track max ⏱️ O(n) | πŸ“¦ O(n) Consistency is the real algorithm. πŸ’ͺ #cohort3.0 @sheryians_ @ali_In_bits
1
6
Day48 of #LeetCode75 βœ…Q.199 Binary Tree Right Side View πŸ’‘ Intuition: Right view = last node at each level βš™οΈ Approach: Use BFS (level order traversal) & pick last node of every level ⏱️ T: O(n)|πŸ“¦S: O(n) Consistency>MotivationKeep going πŸ’ͺ #cohort3.0 @sheryians_ @ali_In_bits
1
πŸš€ Day 46 of #LeetCode75 πŸ“Œ Path Sum III (Binary Tree DFS) 🧠 Key Idea: Start from EVERY node, not just root! βš™οΈ DFS recursive sum tracking ⏱️ O(NΒ²) | πŸ’Ύ O(H) ✨ Small insight: Problems get easier when you stop thinking linearly. #DSA @sheryians_ @ali_In_bits
6
#Day45 of #LeetCode75 πŸš€ Q1g πŸ’‘ Track max value from root β†’ node If current β‰₯ max_so_far β†’ good node βš™οΈ DFS state passing ⏱️ O(n) | πŸ“¦ O(h) Small insight, big impact πŸ’― #LeetCode #DSA #BinaryTree @sheryians_ @ali_In_bits
6
πŸš€ #Day 44 #LeetCode75 Q2300 Successful Pairs βœ… Brute ❌ β†’ Binary Search βœ… 🧠 Find min potion for each spell βš™οΈ Sort first valid index πŸ“Š Count = n - index ⏱️ O(n log m) πŸ”₯ BS = finding boundaries #cohort3.0 #DSA #Coding @sheryians_ @ali_In_bits
6
πŸš€ #Day42 of #LeetCode75 βœ… Q1318: Minimum Flips to Make a OR b Equal to c πŸ’‘ Bit Manipulation 🧠 Idea: Solve bit by bit c = 1 β†’ need at least one 1 c = 0 β†’ both must be 0 βš™οΈ Time: O(1) | Space: O(1) Small steps daily = big results πŸ“ˆ #DSA #Coding #Programmer @sheryians_
1
2
20
πŸš€ Day 26 #LeetCode75 🧠 1207. Unique Number of Occurrences πŸ’‘ Trick: Don’t check numbers β†’ check their frequencies βš™οΈ Approach: HashMap β†’ count HashSet β†’ check uniqueness ⏱️ O(n) time | O(n) space Consistency > Motivation πŸ’― #cohort3.0 #DSA #Java. @sheryians_ @ali_In_bits
2
20
πŸš€ Day 21 of #LeetCode75 βœ… Asteroid Collision (Stack) πŸ’‘ Intuition: Simulate collisions using stack (like resolving conflicts step by step) βš™οΈ Approach: Push positive asteroids Resolve when negative appears Compare sizes β†’ destroy accordingly ⏱️ O(n) time | O(n) space
1
2
51
Day9 of #LeetCode75 πŸš€ Solved: Increasing Triplet Subsequence 🧠 Intuition: Track 2 smallest values while iterating βš™οΈ If num > second > first β†’ Triplet found βœ… ⏱️ O(n) | πŸ“¦ O(1) From O(nΒ³) β†’ O(n) 🀯 Small optimizations = BIG impact. Keep building πŸ’ͺ @sheryians_ @harshbhaiyaa
1
3
238
1 / LeetCode 75 Solved 2 problems today Kids With the Greatest Number of Candies β†’ Key idea: compare against global max, not every kid Merge Strings Alternately β†’ Two pointers safety checks β†’ Important lesson: while controls loop, if ensures bounds safety #LeetCode75 #DSA
4
56
Completed LeetCode 75 πŸ’»πŸ† Grateful for the grind & the learnings πŸ™ #LeetCode75 #GratefulToLeetCode #DSA πŸš€
1
7
75
Starting a new public journey I’ve completed the #LeetCode75 DSA challenge,and now I’m committing to deepening my understanding of Data Structures &Algorithms in C by learning in public. Focus: –Strong fundamentals –Clean problem-solving –Long-term growth in tech Let’s build.
1
29
577
Holo.....Developers My leetcode profile : leetcode.com/u/zoolpher/ #LeetCode Day 14 # 328 (medium) : Odd Even Linked List # 2130 (medium) : Maximum twin sum of a Linked List #DSA #Datastructure #LeetCode75
2
14
πŸ”₯ Problem of the Day: Maximum Level Sum of a Binary Tree Approach: Language: C Difficulty: Medium βœ… Passed all testcases #DSA #LeetCode75
2
11
πŸ”₯ Problem of the Day: Binary Tree Right Side View Approach: Language: C Difficulty: Medium βœ… Passed all testcases #DSA #LeetCode75
2
13
πŸ”₯ Problem of the Day: Robot Return to Origin Approach: Language: C Difficulty: Easy βœ… Passed all testcases #DSA #LeetCode75
2
11
πŸ”₯ Problem of the Day: Path sum 3 Approach: Language: C Difficulty: Medium βœ… Passed all testcases #DSA #LeetCode75
1
2
14
πŸ”₯ Problem of the Day: Leaf-Similar Trees Approach: Language: C Difficulty: Easy βœ… Passed all testcases #DSA #LeetCode75
2
13
πŸ”₯ Problem of the Day: Repeated Substring Pattern Approach: Language: C Difficulty: Easy βœ… Passed all testcases #DSA #LeetCode75
2
11