- 博客(2)
- 收藏
- 关注
原创 链表逆置递归
#include using namespace std; typedef int ElemType; typedef struct _Node { ElemType data; struct _Node *next; }Node; Node* initNode() { Node *ptr = (Node *)malloc(sizeof(struct _Node)); if (p
2017-03-27 16:38:41 1360
原创 斐波那契递归消除重复性
#include using namespace std; void fibo_loop(int num); int fibo_recurisv(int num); int main() { cout<<fibo_recurisv(44); //fibo(0,1,44); return 0; } //递归方法且消除了重复性 static int temp = 1; int fibo_
2017-03-16 13:20:55 509
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人