Beauty of Recursion1 [Tree] 기초 inorder traverse 구현 및 이해 코드 레벨로 내려가서 차근차근 짚고 넘어가는데 c++ 기초가 부실한게 여실히 나타난다. 하나하나 두들기면서 배울수밖에. 할수있다. 코딩도 수학 같이 아는것과 모르는것을 구분하는것이 정말 중요한듯. //creat a tree #include using namespace std; //structure of the binary tree struct treenode { //member int info; struct treenode *left , *right; // }; //Function to create the binary tree struct treenode* create(){ int data; struct treenode* tree; //Dynamically allocating memory //for tr.. 2023. 1. 20. 이전 1 다음