depth_first_search

A collection of 2 posts

[LeetCode] #105. Construct Binary Tree from Preorder and Inorder Traversal cover image
#leet_code#algorithm#medium_level#java#array#tree#depth_first_search#dfs

[LeetCode] #105. Construct Binary Tree from Preorder and Inorder Traversal

전위 순회, 중위 순회 값을 바탕으로 이진 트리를 구해봅니다.

[LeetCode] #98. Validate Binary Search Tree cover image
#leet_code#algorithm#medium_level#java#tree#depth_first_search#binary_search_tree#bst

[LeetCode] #98. Validate Binary Search Tree

주어진 트리가 올바른 이진 탐색 트리인지 확인합니다.