Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shiweihe0713/algorithms-made-easy

Algorithm learning hub : show case the fundamental algorithms like sorting algorithms, such as generic sort, merge sort, quick sort, bucket sort, and radix sort, etc.
https://github.com/shiweihe0713/algorithms-made-easy

algorithms binary-search-tree computer-science data-structures leetcode sorting-algorithms tree

Last synced: 2 months ago
JSON representation

Algorithm learning hub : show case the fundamental algorithms like sorting algorithms, such as generic sort, merge sort, quick sort, bucket sort, and radix sort, etc.

Awesome Lists containing this project

README

        

# Leetcode Grind

## Tree
- [606. Construct String from Binary Tree](3_trees/606_construct_string_from_binary_tree.py)
- [1650. LCA of a Binary Tree](3_trees/1650_lca.py)
- [314. Binary Tree Vertical Order Traversal](3_trees/314_binary_tree_vertical_order_traversal.py)
[Tree doc in details](3_trees/Tree.md)

## Todo
- [ ] DFS inorder, postorder Traversal
- [ ] BFS inorder, postorder Traversal
- [ ] Figure Lambda function in [314. Binary Tree Vertical Order Traversal](3_trees/314_binary_tree_vertical_order_traversal.py)

```python
# A lambda function that adds 10 to its argument
add_ten = lambda x: x + 10
print(add_ten(5)) # Output: 15
```