LeetCode - 563. Binary Tree Tilt | Day 8 December Challenge
Aditya Mahajan
Problem: https://leetcode.com/problems/binary-tree-tilt/ Code Link: https://github.com/skystone1000/LeetCode
December Challenge 2021 - Day 8 563. Binary Tree Tilt
TIMESTAMPS 0:00 Intro 0:19 Question & Example 2:18 Approach 4:49 Code 7:14 Output
Approach We need to calculate the sum of tilts for all nodes and calculating tilt would be easier with Post order traversal as we need to come to root at the last.
š Social Media š
š LinkedIn: https://www.linkedin.com/in/adityamahajan123/ š GitHub: https://github.com/skystone1000/ šø Instagram: https://www.instagram.com/skystone1000/ š Chess.com : https://www.chess.com/member/skystone1000 ā Discord Server: https://discord.gg/ZPWzT5QWDC
ā” Please leave a LIKE and SUBSCRIBE for more content! ā”
ā Tags ā
- Aditya Mahajan
ā Hashtags ā #leetcode #563Leetcode ... https://www.youtube.com/watch?v=u29JqCrcBCA
46175766 Bytes