Skip to content

Commit 50deb3c

Browse files
authored
Update BOJ2263.md
1 parent 71181b6 commit 50deb3c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

challenges/BOJ2263.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,8 @@
99
# 풀이
1010

1111
트리를 직접 그려보면, `post-order`의 경우 항상 마지막 값이 `root`값이라는 것을 알수 있다.
12-
1312
`post-order`에서 `root`값을 찾은후 출력하고 `position`에 저장된 `in-order``root`위치를 찾는다.
14-
1513
그 후, 왼쪽 노드의 사이즈를 구한다. 왼쪽 노드와 오른쪽 노드를 분할정복한다.
16-
1714
이를 반복하면 `pre-order`를 구할 수 있다.
1815

1916
``` c++

0 commit comments

Comments
 (0)