"LCA of a BST" is actually Medium (on leetcode) but was listed as Easy

pull/595/head
Sanidhya Singh 1 year ago
parent c3a287dc17
commit e648f53169

@ -99,17 +99,6 @@
"topic": "graph", "topic": "graph",
"routines": ["matrix", "depth-first-search"] "routines": ["matrix", "depth-first-search"]
}, },
{
"slug": "lowest-common-ancestor-of-a-binary-search-tree",
"title": "Lowest Common Ancestor of a Binary Search Tree",
"url": "https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree",
"duration": 20,
"epi": 1,
"difficulty": "Easy",
"id": 235,
"topic": "binary-search-tree",
"routines": []
},
{ {
"slug": "balanced-binary-tree", "slug": "balanced-binary-tree",
"title": "Balanced Binary Tree", "title": "Balanced Binary Tree",
@ -301,6 +290,17 @@
"topic": "array", "topic": "array",
"routines": ["interval"] "routines": ["interval"]
}, },
{
"slug": "lowest-common-ancestor-of-a-binary-search-tree",
"title": "Lowest Common Ancestor of a Binary Search Tree",
"url": "https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree",
"duration": 20,
"epi": 1,
"difficulty": "Medium",
"id": 235,
"topic": "binary-search-tree",
"routines": []
},
{ {
"slug": "01-matrix", "slug": "01-matrix",
"title": "01 Matrix", "title": "01 Matrix",

@ -117,7 +117,7 @@ Week 4 builds up on knowledge from previous weeks but questions are of increased
| Question | Difficulty | LeetCode | | Question | Difficulty | LeetCode |
| :-- | --- | --- | | :-- | --- | --- |
| Subtree of Another Tree | Easy | [Link](https://leetcode.com/problems/subtree-of-another-tree/) | | Subtree of Another Tree | Easy | [Link](https://leetcode.com/problems/subtree-of-another-tree/) |
| Lowest Common Ancestor of BST | Easy | [Link](https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree/) | | Lowest Common Ancestor of BST | Medium | [Link](https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree/) |
| Implement Trie (Prefix Tree) | Medium | [Link](https://leetcode.com/problems/implement-trie-prefix-tree/) | | Implement Trie (Prefix Tree) | Medium | [Link](https://leetcode.com/problems/implement-trie-prefix-tree/) |
| Add and Search Word | Medium | [Link](https://leetcode.com/problems/add-and-search-word-data-structure-design/) | | Add and Search Word | Medium | [Link](https://leetcode.com/problems/add-and-search-word-data-structure-design/) |
| Kth Smallest Element in a BST | Medium | [Link](https://leetcode.com/problems/kth-smallest-element-in-a-bst/) | | Kth Smallest Element in a BST | Medium | [Link](https://leetcode.com/problems/kth-smallest-element-in-a-bst/) |

Loading…
Cancel
Save