-
## 🚀 Name : Catalan Number
Catalan Numbers
Catalan numbers are a sequence of natural numbers that have numerous applications in combinatorics. They are defined based on recursive relationships and…
-
# Creating the `DemandQueue`
Each dealer in our scheme has a _queue of demand_ where a `sim-exchange` user's
order is placed after clicking "Accept My Deal." A user's order remains in this
queue …
-
I like the trend of increasing functional programming data types for Python. Any plans for a list/vector?
-
## Brief feature description
The introspection needs a refactoring regarding:
- how is data internally stored and accessible for introspection
- how is this data sent to the client
- which infor…
-
Hi! I’m Scott Fleischman. I gave the [Agda from Nothing](https://github.com/scott-fleischman/agda-from-nothing) workshop and the [Types for Ancient Greek](https://github.com/scott-fleischman/greek-gra…
-
https://github.com/jwasham/coding-interview-university
-
### 字典树 Trie
#### 数据结构:
又称单词查找树或键树,是一种树形结构。典型应用是用于统计和排序大量的字符串(但不仅限于字符串),所以经常被搜索引擎系统用于文本词频统计。优点是:最大限度的减少无谓的字符串比较,查询效率比哈希表高。
#### 核心思想:
空间换时间。利用字符串的公共前缀来降低查询时间的开销以达到提高效率的目的。
#### 基本性质:
1. 结点本身不存完整…
chxii updated
4 years ago
-
## 总结
大部分树的问题,都是遍历的问题;
## 三种遍历迭代形式
节点的定义:
```python
class TreeNode:
def __init__(self, val=0, left=None, right=None):
self.val = val
self.left = left
self.righ…
-
## 🚀 Feature Request
### Is your feature request related to a problem? Please describe.
Add Sentinel Linear Search in searching technique
Add Red Black Tree in binary search tree
### Describe …
-
I've been tinkering with this off and on for a while and its showing some promise so I'm going to open an issue to (eventually) add this feature to a future release.
R\*/X-Tree is a data structure de…