Skip to content

Commit e648f53

Browse files
committed
"LCA of a BST" is actually Medium (on leetcode) but was listed as Easy
1 parent c3a287d commit e648f53

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

apps/website/contents/_components/QuestionGroups.json

+11-11
Original file line numberDiff line numberDiff line change
@@ -99,17 +99,6 @@
9999
"topic": "graph",
100100
"routines": ["matrix", "depth-first-search"]
101101
},
102-
{
103-
"slug": "lowest-common-ancestor-of-a-binary-search-tree",
104-
"title": "Lowest Common Ancestor of a Binary Search Tree",
105-
"url": "https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree",
106-
"duration": 20,
107-
"epi": 1,
108-
"difficulty": "Easy",
109-
"id": 235,
110-
"topic": "binary-search-tree",
111-
"routines": []
112-
},
113102
{
114103
"slug": "balanced-binary-tree",
115104
"title": "Balanced Binary Tree",
@@ -301,6 +290,17 @@
301290
"topic": "array",
302291
"routines": ["interval"]
303292
},
293+
{
294+
"slug": "lowest-common-ancestor-of-a-binary-search-tree",
295+
"title": "Lowest Common Ancestor of a Binary Search Tree",
296+
"url": "https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree",
297+
"duration": 20,
298+
"epi": 1,
299+
"difficulty": "Medium",
300+
"id": 235,
301+
"topic": "binary-search-tree",
302+
"routines": []
303+
},
304304
{
305305
"slug": "01-matrix",
306306
"title": "01 Matrix",

apps/website/contents/best-practice-questions.md

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

0 commit comments

Comments
 (0)