mirror of
				https://github.com/krahets/hello-algo.git
				synced 2025-11-04 14:18:20 +08:00 
			
		
		
		
	Update linked_list.c
This commit is contained in:
		@ -6,7 +6,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
#include "../include/include.h"
 | 
					#include "../include/include.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 /* 在链表的结点 n0 之后插入结点 P */
 | 
					/* 在链表的结点 n0 之后插入结点 P */
 | 
				
			||||||
void insert(ListNode* n0, ListNode* P) {
 | 
					void insert(ListNode* n0, ListNode* P) {
 | 
				
			||||||
    ListNode *n1 = n0->next;
 | 
					    ListNode *n1 = n0->next;
 | 
				
			||||||
    n0->next = P;
 | 
					    n0->next = P;
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user