一、二叉树相关练习请编程实现二叉树的操作1.二叉树的创建2.二叉树的先序遍历3.二叉树的中序遍历4.二叉树的后序遍历5.二叉树各个节点度的个数6.二叉树的深度代码:#include#include#includetypedefstructnode//定义二叉树节点结构体{ intdata; structnode*left; structnode*right;}*binary;binarycreate_node()//创建节点并初始化{ binarys=(binary)malloc(sizeof(structnode)); if(NULL==s) returnNULL; s->data=0;