701
-
[LeetCode] 701. Insert into a Binary Search TreeLeetCode 2022. 1. 12. 11:22
https://leetcode.com/problems/insert-into-a-binary-search-tree/ Insert into a 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 Insert into a Binary Search Tree - Medium 이진탐색트리가 주어지고 다른 값 val이 하나 주어진다. 이때, 이 이진탐색트리에 val을 추가한 트리를 구하는 문제다. 이진탐색트리의 root부터 val값을 비교하여..