✨ Day 19: Binary Tree ✨
📌 A binary tree is a tree data structure composed of nodes, each of which has at most, two children, referred to as left and right nodes. The tree starts with a single node known as the root.
Each node in the tree contains the following:
Data
Pointer to the left child
Pointer to the right child
✏️ 𝗙𝗼𝗿 𝗯𝗲𝘁𝘁𝗲𝗿 𝘂𝗻𝗱𝗲𝗿𝘀𝘁𝗮𝗻𝗱𝗶𝗻𝗴 𝗿𝗲𝗳𝗲𝗿 𝗳𝗼𝗹𝗹𝗼𝘄𝗶𝗻𝗴 𝗮𝗿𝘁𝗶𝗰𝗹𝗲𝘀 ;
- https://www.geeksforgeeks.org/binary-tree-data-structure/
- https://www.javatpoint.com/binary-tree
- https://www.programiz.com/dsa/binary-tree
- https://www.educative.io/answers/what-is-a-binary-tree
📽️ 𝗧𝘂𝘁𝗼𝗿𝗶𝗮𝗹 𝗟𝗶𝗻𝗸𝘀;
- https://youtube.com/playlist?list=PLgUwDviBIf0q8Hkd7bK2Bpryj2xVJk8Vk
- https://youtu.be/fAAZixBzIAI
- https://www.youtube.com/watch?v=-DzowlcaUmE
- https://www.youtube.com/watch?v=_jKa4gycZTw
- https://youtu.be/vvey2QCs98o
- https://youtu.be/I_JuQ5ayPmc
- https://youtu.be/zW4JZt6Wud8
- https://youtu.be/_jKa4gycZTw
👨💻 𝗤𝘂𝗲𝘀𝘁𝗶𝗼𝗻𝗶𝗻𝗴 𝗥𝗼𝘂𝗻𝗱: 👇
- https://leetcode.com/problems/validate-binary-search-tree
- https://leetcode.com/problems/minimum-depth-of-binary-tree
- https://leetcode.com/problems/sum-of-left-leaves
- https://leetcode.com/problems/balanced-binary-tree/
- https://leetcode.com/problems/binary-tree-level-order-traversal/