Skip to content

Commit

Permalink
Add linkedlist_deque and array_deque to docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
krahets committed Feb 28, 2023
1 parent 0ed596e commit 55586e6
Showing 1 changed file with 18 additions and 8 deletions.
26 changes: 18 additions & 8 deletions docs/chapter_stack_and_queue/deque.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -359,7 +365,9 @@
=== "C"

```c title="linkedlist_deque.c"
[class]{ListNode}-[func]{}

[class]{LinkedListDeque}-[func]{}
```

=== "C#"
Expand All @@ -381,7 +389,9 @@
=== "Zig"

```zig title="linkedlist_deque.zig"
[class]{ListNode}-[func]{}

[class]{LinkedListDeque}-[func]{}
```

### 基于数组的实现
Expand Down Expand Up @@ -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"
Expand All @@ -462,5 +472,5 @@
=== "Zig"

```zig title="array_deque.zig"

[class]{ArrayDeque}-[func]{}
```

0 comments on commit 55586e6

Please sign in to comment.