摘要:
I learned tree data structure again and watched the video by IIT professor. Leetcode 144 solved by recursion is very simple to understand, but i try u 阅读全文
摘要:
Add a node at linked list end #include <stdio.h> #include <stdlib.h> //malloc typedef struct node{ int data; struct node* next; }*list; list add_node_ 阅读全文
摘要:
#include <stdio.h> int a[1010]; void Input(int n, int *a) { for(int i = 0; i < n; ++i) { scanf("%d", &a[i]); } } void Output(int n, int *a) { for(int 阅读全文