摘要: The whole process for .c --> executable file. .c -> .s in assembly language, and then --> .o in the efl format , but when we try to call different .c 阅读全文
posted @ 2017-11-08 18:22 ReedyLi 阅读(221) 评论(0) 推荐(0) 编辑
摘要: 000 - search tree 002 -- count the nodes in the tree 003 -- compare 2 binary trees 004 - degree check of the tree 005- find a element in the binary se 阅读全文
posted @ 2017-10-23 20:49 ReedyLi 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 1- definition A variable that contains a memory address, points to somewhere in the process’ virtual address space 2- dereference a pointer 3- pointer 阅读全文
posted @ 2017-10-05 05:00 ReedyLi 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 000-- Define a Stack #define STACK_INIT_SIZE 100 initStack(sqStack *s){ s->base = (ElemType *)malloc(STACK_INIT_SIZE*sizeof(ElemType)) if(!s) { exit(0 阅读全文
posted @ 2017-09-19 20:58 ReedyLi 阅读(253) 评论(0) 推荐(0) 编辑
摘要: 000-- define a Dulinklist A empty DuLinklist: Add a new Node Delete a Node print A-Z with the defined sequence by user e.g. user input 3 then should b 阅读全文
posted @ 2017-09-18 21:05 ReedyLi 阅读(367) 评论(0) 推荐(0) 编辑
摘要: 000--Magic Poker Put the poker with specific sequence, so that they can show as below: count 1, open the first card as A, count 2, the first one place 阅读全文
posted @ 2017-09-16 07:05 ReedyLi 阅读(160) 评论(0) 推荐(0) 编辑
摘要: The operation fullfilled codes: 001-- To check if a list has a circle solution1 -- pointer p,q ; p continue move forward, and q will start from head f 阅读全文
posted @ 2017-09-16 04:49 ReedyLi 阅读(228) 评论(0) 推荐(0) 编辑
摘要: Circle List puzzle Josephus Story: there is 41 people , 39 of them have the agreement that: all these 41 people stand as a circle, and one of them cou 阅读全文
posted @ 2017-09-14 22:41 ReedyLi 阅读(202) 评论(0) 推荐(0) 编辑
摘要: #include #include typedef struct CLinkList { int data; struct CLinkList *next ; } node; /*initiate a circle list*/ void ds_init(node **pNode) { int item; node *temp; no... 阅读全文
posted @ 2017-09-14 22:01 ReedyLi 阅读(185) 评论(0) 推荐(0) 编辑
摘要: Solution oder mit recursive : 而返回一个新的链表,只需要给指向第一个数据的指针地址就可以。 Die analysis ist sehr gut. Finden Sie die Details mit den Link. https://leetcode.com/arti 阅读全文
posted @ 2017-09-13 17:29 ReedyLi 阅读(133) 评论(0) 推荐(0) 编辑