数据结构
zch1990s
这个作者很懒,什么都没留下…
展开
-
LeetCode 108 Convert Sorted Array To Binary Search Tree
Given an array where elements are sorted in ascending order, convert it to a height balanced BST. For this problem, a height-balanced binary tree is defined as a binary tree in which the depth of the...原创 2018-10-18 22:39:03 · 146 阅读 · 0 评论 -
冒泡排序 Visual Basic, C, Java, Python3及JavaScript的实现
Visual Basic实现: Private Sub Command1_Click() Dim bubbleList(4) As Integer bubbleList(0) = 1 bubbleList(1) = 11 bubbleList(2) = 132 bubbleList(3) = 21 bubbleList(4) = 43 l...原创 2019-03-13 11:32:45 · 314 阅读 · 0 评论