230. Kth Smallest Element in a BST

1.問題

  • 找出第K小的element

2.想法

  • 以inorder尋覽BST後會得到排序的list

3.程式碼

4.Performance

Last updated