摘要: 9)【判断b链表是否a链表的子序列】假设带头结点错误代码:没有考虑重复结点的情况。#include "stdafx.h"#include<iostream>using namespace std;typedef struct node{ int data; struct node *next;}Listnode,*LinkList;int _tmain(int argc, _TCHAR* argv[]){ return 0;}bool isofseries(LinkList a,LinkList b){ LinkList pa=a->next,pb=b-& 阅读全文
posted @ 2012-08-01 21:53 代码改变未来 阅读(249) 评论(0) 推荐(0) 编辑