Rohan
726 posts


Day 136/200: Solved-'Count Complete Tree Nodes' 🌳
Used height-based optimization.
Compared left and right heights to identify perfect subtrees and reduced time complexity to O(log² n).
#200DaysOfCode #LeetCode #Day136 #CodingChallenge #strivers #A2ZDsa

English

@Rohan_269 After seeing the price, I changed my mind 🙂↔️
Now I prefer the pre-installed keyboard in my laptop 🥲
English

Day 135/200: Solved-"All Nodes Distance K in Binary Tree" 🌳
Felt like a tough one at first. Had to convert the tree into a graph by tracking parent nodes, then applied BFS from the target to reach distance K.
#200DaysOfCode #LeetCode #Day135 #CodingChallenge #strivers #A2ZDsa

English

Day 134/200: Solved "Children Sum Property" 🌳
Worked on modifying a binary tree so that every node follows the rule: node = left + right.⚡
#200DaysOfCode #LeetCode #Day134 #CodingChallenge #strivers #A2ZDsa

English

@herooffjustice Thinking the same...
After backing up from it i realised without a session I'll be very lazy and low person
English

599 followers 👀🔥
1 more legends to hit 600!
Is it possible TODAY? 💪
#BuildingInPublic #Growth

English












