From f7a801ccb1572ce9f13cc63c2359f37f04d0ec3b Mon Sep 17 00:00:00 2001 From: Khushi Kalra Date: Mon, 17 Jun 2024 21:25:51 +0530 Subject: [PATCH] Added Blog: Trees Problems (#319) * added Day16 * added function overloading * added operator overloading * added Day17 * added exception handling * added blog trees problems --------- Co-authored-by: Shubhadip Bhowmik <57017965+subhadipbhowmik@users.noreply.github.com> --- .../2024-06-13-tree-problems/tree-problems.md | 36 +++++++++++++++++++ blog/authors.yml | 6 ++++ package-lock.json | 2 ++ 3 files changed, 44 insertions(+) create mode 100644 blog/2024-06-13-tree-problems/tree-problems.md diff --git a/blog/2024-06-13-tree-problems/tree-problems.md b/blog/2024-06-13-tree-problems/tree-problems.md new file mode 100644 index 000000000..843dce82c --- /dev/null +++ b/blog/2024-06-13-tree-problems/tree-problems.md @@ -0,0 +1,36 @@ +--- +slug: tree-problems +title: Trees Problems +authors: [khushi-kalra] +tags: ["30daysofcpp", "trees", "binaryTrees","practice-problems","leetcode"] +--- + +- [Invert Binary Tree](https://leetcode.com/problems/invert-binary-tree/description/) + +- [Maximum Depth of Binary Tree](https://leetcode.com/problems/maximum-depth-of-binary-tree/description/) + +- [Diameter of Binary Tree](https://leetcode.com/problems/diameter-of-binary-tree/description/) + +- [Balanced Binary Tree](https://leetcode.com/problems/balanced-binary-tree/description/) + +- [Same Tree](https://leetcode.com/problems/same-tree/description/) + +- [Subtree of Another Tree](https://leetcode.com/problems/subtree-of-another-tree/description/) + +- [Lowest Common Ancestor of a Binary Search Tree](https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree/description/) + +- [Binary Tree Level Order Traversal](https://leetcode.com/problems/binary-tree-level-order-traversal/description/) + +- [Binary Tree Right Side View](https://leetcode.com/problems/binary-tree-right-side-view/description/) + +- [Count Good Nodes In Binary Tree](https://leetcode.com/problems/count-good-nodes-in-binary-tree/description/) + +- [Validate Binary Search Tree](https://leetcode.com/problems/validate-binary-search-tree/description/) + +- [Kth Smallest Element In a BST](https://leetcode.com/problems/kth-smallest-element-in-a-bst/description/) + +- [Construct Binary Tree From Preorder And Inorder Traversal](https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal/description/) + +- [Binary Tree Maximum Path Sum](https://leetcode.com/problems/binary-tree-maximum-path-sum/description/) + +- [Serialize And Deserialize Binary Tree](https://leetcode.com/problems/serialize-and-deserialize-binary-tree/description/) \ No newline at end of file diff --git a/blog/authors.yml b/blog/authors.yml index 0821aeafe..33d77abdf 100644 --- a/blog/authors.yml +++ b/blog/authors.yml @@ -9,3 +9,9 @@ chaitanya: title: Contributor @30DaysOfCPP url: https://www.linkedin.com/in/chaitanya-sravanthi-gatreddi/ image_url: https://avatars.githubusercontent.com/u/139270341?v=4 + +khushi-kalra: + name: Khushi Kalra + title: GSSoC'24 Contributor @30DaysOfCPP + url: https://github.com/abckhush + image_url: https://yt3.googleusercontent.com/BpaBYEiGibr8uiNMCWytJ5BdKbPtpqTJAuA5Ida5rXAe8Zfvr8keZSPXYSqGasjGo7OunF2w=s176-c-k-c0x00ffffff-no-rj \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 43a610c2b..786363e86 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12845,6 +12845,7 @@ "version": "2.14.0", "resolved": "https://registry.npmjs.org/search-insights/-/search-insights-2.14.0.tgz", "integrity": "sha512-OLN6MsPMCghDOqlCtsIsYgtsC0pnwVTyT9Mu6A3ewOj1DxvzZF6COrn2g86E/c05xbktB0XN04m/t1Z+n+fTGw==", + "license": "MIT", "peer": true }, "node_modules/section-matter": { @@ -13812,6 +13813,7 @@ "version": "5.4.5", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", + "license": "Apache-2.0", "peer": true, "bin": { "tsc": "bin/tsc",