mirror of
https://github.com/krahets/hello-algo.git
synced 2024-12-24 09:26:28 +08:00
Add linkedlist_deque and array_deque to docs.
This commit is contained in:
parent
0ed596e251
commit
55586e6a6e
1 changed files with 18 additions and 8 deletions
|
@ -325,19 +325,25 @@
|
|||
=== "C++"
|
||||
|
||||
```cpp title="linkedlist_deque.cpp"
|
||||
[class]{ListNode}-[func]{}
|
||||
|
||||
[class]{LinkedListDeque}-[func]{}
|
||||
```
|
||||
|
||||
=== "Python"
|
||||
|
||||
```python title="linkedlist_deque.py"
|
||||
[class]{ListNode}-[func]{}
|
||||
|
||||
[class]{LinkedListDeque}-[func]{}
|
||||
```
|
||||
|
||||
=== "Go"
|
||||
|
||||
```go title="linkedlist_deque.go"
|
||||
[class]{ListNode}-[func]{}
|
||||
|
||||
[class]{LinkedListDeque}-[func]{}
|
||||
```
|
||||
|
||||
=== "JavaScript"
|
||||
|
@ -359,7 +365,9 @@
|
|||
=== "C"
|
||||
|
||||
```c title="linkedlist_deque.c"
|
||||
[class]{ListNode}-[func]{}
|
||||
|
||||
[class]{LinkedListDeque}-[func]{}
|
||||
```
|
||||
|
||||
=== "C#"
|
||||
|
@ -381,7 +389,9 @@
|
|||
=== "Zig"
|
||||
|
||||
```zig title="linkedlist_deque.zig"
|
||||
[class]{ListNode}-[func]{}
|
||||
|
||||
[class]{LinkedListDeque}-[func]{}
|
||||
```
|
||||
|
||||
### 基于数组的实现
|
||||
|
@ -414,43 +424,43 @@
|
|||
=== "C++"
|
||||
|
||||
```cpp title="array_deque.cpp"
|
||||
|
||||
[class]{ArrayDeque}-[func]{}
|
||||
```
|
||||
|
||||
=== "Python"
|
||||
|
||||
```python title="array_deque.py"
|
||||
|
||||
[class]{ArrayDeque}-[func]{}
|
||||
```
|
||||
|
||||
=== "Go"
|
||||
|
||||
```go title="array_deque.go"
|
||||
|
||||
[class]{ArrayDeque}-[func]{}
|
||||
```
|
||||
|
||||
=== "JavaScript"
|
||||
|
||||
```js title="array_deque.js"
|
||||
|
||||
[class]{ArrayDeque}-[func]{}
|
||||
```
|
||||
|
||||
=== "TypeScript"
|
||||
|
||||
```typescript title="array_deque.ts"
|
||||
|
||||
[class]{ArrayDeque}-[func]{}
|
||||
```
|
||||
|
||||
=== "C"
|
||||
|
||||
```c title="array_deque.c"
|
||||
|
||||
[class]{ArrayDeque}-[func]{}
|
||||
```
|
||||
|
||||
=== "C#"
|
||||
|
||||
```csharp title="array_deque.cs"
|
||||
|
||||
[class]{ArrayDeque}-[func]{}
|
||||
```
|
||||
|
||||
=== "Swift"
|
||||
|
@ -462,5 +472,5 @@
|
|||
=== "Zig"
|
||||
|
||||
```zig title="array_deque.zig"
|
||||
|
||||
[class]{ArrayDeque}-[func]{}
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue