leetcode-the-hard-way icon indicating copy to clipboard operation
leetcode-the-hard-way copied to clipboard

Utkarsh4321/tutorial binary search tree

Open utkarsh4321 opened this issue 3 years ago • 5 comments

Change Summary

Issue #62
In this PR I discuss BST. Talk about the basic operations in BST. Like search, deletion and insertion. Also, talk about the Time complexity of these operations. And in the end, I also suggested some problems for BST.

Checklist

If you haven't fulfilled the below requirements, your PR won't be reviewed.

General

  • [x] Make sure you've read CONTRIBUTING.md
  • [x] Make sure you've followed the template format
  • [x] Make sure you've started the app locally and verified all the content and all links (if applicable) must be accessible correctly
  • [x] Make sure you've applied LaTex for variables, formulas and time / space complexity instead of using backticks
  • [x] Make sure you've formatted your code well (Code Block is rendered using <Tabs/>) Below is a C++ example. You can include multiple langs using <TabItem/> if necessary
<Tabs>

<TabItem value="cpp" label="C++">
<SolutionAuthor name="@YOUR_ALIAS"/>

```cpp
// Your code goes here
// Prefer K&R Coding style
```

</TabItem>

</Tabs>
  • [x] Make sure you've explained your code well (write comments above each line - not inline)
  • [x] Make sure you've written your explanation well and it is easy to understand for beginners
  • [x] Make sure you've included Time & Space Complexity Analysis
  • [ ] Make sure you've included a meaningful approach name for your solution. Don't leave it blank. e.g. ## Approach 1: Two Pointers.

For Tutorial Articles

  • [x] Make sure you've explained your topic using 1 - 3 LC problems rather than using external problems. Solutions must be taken with explanations as well.
  • [x] Make sure you've provided suggested problems at the end using the given format. See here as an example. If the target solution is not available, leave solutionLink blank.
  • [ ] Make sure you've given credits / references if you use external resources. For an image, give credit under it. Otherwise, add a new section called References at the end (after Suggested Problems).

utkarsh4321 avatar Oct 07 '22 19:10 utkarsh4321

@wingkwong hi I m not got to explain with 1 LC problem can you please tell? For BST in LC, there is some problems like search in BST or Insertion in BST so I will take those problems explain on the basis of it. Is there any article. That i can fallow.

What's wrong in code block?

utkarsh4321 avatar Oct 11 '22 17:10 utkarsh4321

  1. include everything that a beginner should know. explained with LC problems.
  2. For code block, please look at the checklist or other tutorials for reference. image

wingkwong avatar Oct 11 '22 17:10 wingkwong

@wingkwong please review my changes and let me know if there are any changes you want I will try to resolve it asap. Thankyou

utkarsh4321 avatar Oct 15 '22 18:10 utkarsh4321

@wingkwong please check that I did some minor changes. If you are ok with that then I move further. If you want something else tell me I will try to fix it asap.

utkarsh4321 avatar Oct 17 '22 16:10 utkarsh4321

any update?

wingkwong avatar Nov 01 '22 16:11 wingkwong

Closing due to inactivity.

wingkwong avatar Nov 18 '22 11:11 wingkwong