摘要:
class Solution { public: ListNode* addTwoNumbers(ListNode* l1, ListNode* l2) { int len1=0,len2=0; ListNode *node1=l1,*node2=l2; while(node1) { ++len1; 阅读全文
posted @ 2020-04-09 10:53
qiujiejie
阅读(141)
评论(0)
推荐(0)
摘要:
1. class Solution { public: ListNode* insertionSortList(ListNode* head) { ListNode ln(0);ln.next=head; ListNode *pre=&ln,*cur=head; while(cur) { if(cu 阅读全文
posted @ 2020-04-09 10:11
qiujiejie
阅读(113)
评论(0)
推荐(0)

浙公网安备 33010602011771号