Skip to content

Instantly share code, notes, and snippets.

@yusufpapurcu
Created January 14, 2025 10:42
Show Gist options
  • Select an option

  • Save yusufpapurcu/726383173f141caff74855d21e1bc39c to your computer and use it in GitHub Desktop.

Select an option

Save yusufpapurcu/726383173f141caff74855d21e1bc39c to your computer and use it in GitHub Desktop.
burak avl
#include<stdio.h>
#include<stdlib.h>
struct tree{
int data;
int edge;
struct tree* next;
};
struct tree* create_node(struct tree* node,int data){
struct tree* temp=(struct tree*)malloc(sizeof(struct tree));
temp->next=NULL;
temp->data=NULL;
}
struct tree* insert(struct tree* node,int value){
edge
if(node==NULL){
node=create_node(node,value);
}
else{
return insert(node->next,value)
}
}
int main(){
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment