Skip to content

Commit

Permalink
"LCA of a BST" is actually Medium (on leetcode) but was listed as Easy
Browse files Browse the repository at this point in the history
  • Loading branch information
sanidhyas3s committed Jul 6, 2023
1 parent c3a287d commit e648f53
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
22 changes: 11 additions & 11 deletions apps/website/contents/_components/QuestionGroups.json
Expand Up @@ -99,17 +99,6 @@
"topic": "graph",
"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",
"title": "Balanced Binary Tree",
Expand Down Expand Up @@ -301,6 +290,17 @@
"topic": "array",
"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",
"title": "01 Matrix",
Expand Down
2 changes: 1 addition & 1 deletion apps/website/contents/best-practice-questions.md
Expand Up @@ -117,7 +117,7 @@ Week 4 builds up on knowledge from previous weeks but questions are of increased
| Question | Difficulty | LeetCode |
| :-- | --- | --- |
| 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/) |
| 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/) |
Expand Down

0 comments on commit e648f53

Please sign in to comment.