Skip to content

Commit

Permalink
linked_list.md中增加链表结构体定义C语言代码 (krahets#384)
Browse files Browse the repository at this point in the history
  • Loading branch information
heshuyue authored Feb 27, 2023
1 parent 88b2537 commit 7314878
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/chapter_array_and_linkedlist/linked_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,11 @@
=== "C"

```c title=""

/* 链表结点结构体 */
struct ListNode {
int val; // 结点值
ListNode *next; // 指向下一结点的指针(引用)
};
```

=== "C#"
Expand Down

0 comments on commit 7314878

Please sign in to comment.