51.com笔试题
大题:1.反转链表#includeusingnamespacestd;structLNode{chardata;LNode*next;};LNode*initList(){LNode*head=newLNode;LNode*curPtr,*newPtr;curPtr=head;inti=0;charch=A;while(i++data=ch++;curPtr->next=newPtr;c...
大题:1.反转链表#includeusingnamespacestd;structLNode{chardata;LNode*next;};LNode*initList(){LNode*head=newLNode;LNode*curPtr,*newPtr;curPtr=head;inti=0;charch=A;while(i++data=ch++;curPtr->next=newPtr;c...