08 2019 档案

摘要:/** * 700. Search in a Binary Search Tree * https://leetcode.com/problems/search-in-a-binary-search-tree/description/ * */ class TreeNode(var `val`: Int) { var left: TreeNode? = null var ... 阅读全文
posted @ 2019-08-29 22:34 johnny_zhao 阅读(93) 评论(0) 推荐(0) 编辑
摘要:958. Check Completeness of a Binary Tree //https://leetcode.com/problems/check-completeness-of-a-binary-tree/description/ class TreeNode(var `val`: Int) { var left: TreeNode? = null var right: TreeNod 阅读全文
posted @ 2019-08-29 14:08 johnny_zhao 阅读(104) 评论(0) 推荐(0) 编辑
摘要:class MinHeap constructor(maxSize_: Int) { var size = 0 var maxSize = maxSize_ var heapArray: Array? = null companion object { const val FRONT = 1 ... 阅读全文
posted @ 2019-08-04 00:37 johnny_zhao 阅读(244) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示