leetcode实战-99. Recover Binary Search Tree 14 Dec, 2018 - 3 minutes #算法 #思考 写这篇文章的目的很单纯,就是来炫耀的,或者说展示下自己写算法的思路。 题目 99. Recover Binary Search Tree Two elements of a binary search tree (BST) are swapped by mistake. Recover the tree without changing its structure. 代码块不贴了,简单解 Read more
我与算法——记于leetcode写了100道题 12 Dec, 2018 - 3 minutes #算法 #感悟 本文记于2018.11.22,不过当时好久没搞博客了,最近处理了下笔记,依次发出来. 我可以简单说说我做这些题的过程和我理解的算法,还有一些我 Read more