tree

A collection of 3 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] #102. Binary Tree Level Order Traversal cover image
#leet_code#algorithm#medium_level#java#tree#breadth_first_search#bfs

[LeetCode] #102. Binary Tree Level Order Traversal

주어진 트리의 너비 우선 탐색(BFS)을 통해 레벨별로 묶은 노드의 값을 구해봅니다.

[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

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