Skip to content

Commit

Permalink
fix(heap): add go codes
Browse files Browse the repository at this point in the history
  • Loading branch information
Reanon committed Jan 13, 2023
1 parent 3dcdd1c commit 568ccbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/chapter_heap/heap.md
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ comments: true

```go title="my_heap.go"
type maxHeap struct {
// 使用切片而非数组,这样无需考虑扩容问题
// 使用切片而非数组,这样无需考虑扩容问题
data []any
}

Expand Down

0 comments on commit 568ccbe

Please sign in to comment.