摘要:
#include<stdio.h> struct tree { int data; int l_ch; int r_ch; }; void add_node(struct tree* arr_1,int *arr,int start_index,int index) { arr_1[index].d 阅读全文
摘要:
#include <stdio.h> #include <stdbool.h> #include <stdlib.h> typedef struct node { int data; struct node* next; }Node; typedef struct line_stack { Node 阅读全文
摘要:
#include <stdio.h> #define NUMBER 100 int push(int* a, int top, int data) { a[++top] = data; return top; } int pop(int* a, int top) { if (top == -1) { 阅读全文
摘要:
#include <stdio.h> #include <stdlib.h> struct node { int data; struct node *next; }; void init_node(struct node **p) { *p = malloc(sizeof(struct node) 阅读全文