issues
search
wbluke
/
Algorithm_PS
Algorithmic Problem Solving Strategies
https://algospot.com/
0
stars
0
forks
source link
[CH21] TRAVERSAL
#23
Closed
wbluke
closed
5 years ago
wbluke
commented
5 years ago
https://algospot.com/judge/problem/read/TRAVERSAL
wbluke
commented
5 years ago
[My Point]
preorder와 inorder를 고정해놓고 index로만 접근하려다가 엄청 복잡해졌다. 뒤쪽 배열을 끊어서 들어갈 때는 index로 접근하기가 상당히 난해하다. 직접적으로 부분배열을 복사해서 들어가는 것이 가장 깔끔하다.
https://algospot.com/judge/problem/read/TRAVERSAL