Notice
Recent Posts
Recent Comments
Link
목록tree (1)
허허의 오늘은 뭐 먹지?
[leetcode] 98. Validate Binary Search Tree
binary search tree가 정상적인지 체크하는 문제입니다. leetcode.com/problems/validate-binary-search-tree/ Validate Binary Search Tree - 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 간단한 문제이나 recursion에 익숙하지 않으면 은근히 어려워 할 수도 있는 문제입니다. 왼쪽 substree의 모든 노드가 root보다 작아야 합니다. 오른쪽 subtree의 모든 노드는 root보다 ..
SW/알고리즘
2021. 2. 28. 14:51