Created
September 11, 2019 09:38
트리_이진트리를 레벨단위 리스트로 변형하기.cpp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "header.h" | |
int main() { | |
//정렬 되어있는 배열을 넣는다 | |
Tree* t = new Tree({ 0,1,2,3,4,5,6,7,8,9 }); | |
t->bstToList2(); | |
t->print(); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment