96
-
[LeetCode] 96. Unique Binary Search TreesLeetCode 2021. 11. 8. 12:21
https://leetcode.com/problems/unique-binary-search-trees/ Unique Binary Search Trees - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com Unique Binary Search Trees - Medium n이 주어졌을때, 1~n이 val로 들어가있는 n개의 노드를 BST로 배열하는 경우의 수를 구하는 문제다. n을 4라고 생각해보자. 이 때, 루트노드에 올 수 있는 노드의 val은 1,2,3,4가 된..