书法字典:https://www.shufadict.com

2014年6月10日

链表逆序(递归法)

摘要: 来自SO,貌似没啥实际应用,但是思路不错,留存。#include #include using namespace std;struct node{ int data; node* next; node(int d, node* p):data(d), next(p){}};voi... 阅读全文

posted @ 2014-06-10 16:23 翰墨小生 阅读(3035) 评论(0) 推荐(0) 编辑

导航

书法字典:https://www.shufadict.com