https://www.cnblogs.com/yinq/p/6926581.html List排序大体上分为如下两类: 1、List 对Integer、String等类型...

https://www.cnblogs.com/yinq/p/6926581.html List排序大体上分为如下两类: 1、List 对Integer、String等类型...
https://www.cnblogs.com/lwlxqlccc/p/6143887.html 一、整理: 二、Map与Collection在集合框架中属并列存在 也就是C...
collection主要方法: boolean add(Object o)添加对象到集合boolean remove(Object o)删除指定的对象int size()返回...
https://www.cnblogs.com/interdrp/p/8039490.html Stack的方法: boolean Empty() 测试堆栈...
https://leetcode.com/problems/valid-parentheses/description/解题思路:1.遇到配对的我们用stack来解决。 遇到...
https://leetcode.com/problems/linked-list-cycle/description/https://leetcode.com/proble...
https://leetcode.com/problems/add-binary/description/ 解题思路: 从最低位开始相加,然后考虑进位 代码:class So...
https://leetcode.com/problems/balanced-binary-tree/description/ 解题思路:用前序判断树的高度,然后对每一步判断...
https://leetcode.com/problems/remove-duplicates-from-sorted-array/description/ 解题思路:num...
https://leetcode.com/problems/guess-number-higher-or-lower/description/解题思路:得到中间值去判断 pu...
https://leetcode.com/problems/palindrome-number/description/ 解题思路: 反向相乘去得到目标值reverse = ...
https://leetcode.com/problems/plus-one/description/解题思路:本位为9则进位,否则直接+1 代码:class Solutio...
https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree/descriptio...
https://leetcode.com/problems/search-insert-position/description/ class Solution {publi...
https://leetcode.com/problems/remove-duplicates-from-sorted-list/description/ 解题思路: 判断前...
https://leetcode.com/problems/symmetric-tree/description/解题思路: node1. left == node2.rig...
https://leetcode.com/problems/remove-element/description/ 解题思路: nums[res++] == nums[i] ...
https://leetcode.com/problems/merge-two-sorted-lists/description/ class Solution {publi...
https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree/description/解题...
https://leetcode.com/problems/missing-number/description/ 解题思路: 先排序,然后判断nums[i] == i 代码...