mirror of
https://github.com/krahets/hello-algo.git
synced 2025-11-09 09:08:56 +08:00
Format the C code in Clang-Format Style: Microsoft
This commit is contained in:
@ -22,7 +22,7 @@ typedef struct ListNode ListNode;
|
||||
/* 构造函数,初始化一个新节点 */
|
||||
ListNode *newListNode(int val) {
|
||||
ListNode *node, *next;
|
||||
node = (ListNode *) malloc(sizeof(ListNode));
|
||||
node = (ListNode *)malloc(sizeof(ListNode));
|
||||
node->val = val;
|
||||
node->next = NULL;
|
||||
return node;
|
||||
|
||||
Reference in New Issue
Block a user