mirror of
https://github.com/krahets/hello-algo.git
synced 2025-12-16 12:32:07 +08:00
linked_list.md中增加链表结构体定义C语言代码 (#384)
This commit is contained in:
@@ -91,7 +91,11 @@
|
||||
=== "C"
|
||||
|
||||
```c title=""
|
||||
|
||||
/* 链表结点结构体 */
|
||||
struct ListNode {
|
||||
int val; // 结点值
|
||||
ListNode *next; // 指向下一结点的指针(引用)
|
||||
};
|
||||
```
|
||||
|
||||
=== "C#"
|
||||
|
||||
Reference in New Issue
Block a user