摘要:
此博客链接:https://www.cnblogs.com/ping2yingshi/p/12560797.html 1.打家劫舍(56min) 题目链接:https://leetcode-cn.com/problems/house-robber/ 你是一个专业的小偷,计划偷窃沿街的房屋。每间房内都 阅读全文
摘要:
此博客链接:https://www.cnblogs.com/ping2yingshi/p/12551412.html 链表的中间结点(42min) 题目链接:https://leetcode-cn.com/problems/middle-of-the-linked-list/submissions/ 阅读全文
摘要:
此博客链接:https://www.cnblogs.com/ping2yingshi/p/12545907.html 使数组唯一的最小增量(28min) 题目链接:https://leetcode-cn.com/problems/minimum-increment-to-make-array-uni 阅读全文
摘要:
此博客链接:https://www.cnblogs.com/ping2yingshi/p/12539336.html 删除排序数组中的重复项(20min) 题目链接:https://leetcode-cn.com/problems/remove-duplicates-from-sorted-arra 阅读全文
摘要:
此博客链接:https://www.cnblogs.com/ping2yingshi/p/12531721.html 方法1.使用.arraycopy方法——数组截取 使用方法:arraycopy(原数组名称,原数组起始下标,目标数组名称,目标数组起始下标,截取长度) 举例: 1.说明:数组arr1 阅读全文
摘要:
此博客链接:https://www.cnblogs.com/ping2yingshi/p/12531721.html 最小的k个数(30min) 题目链接:https://leetcode-cn.com/problems/zui-xiao-de-kge-shu-lcof/ 输入整数数组 arr ,找 阅读全文
摘要:
此博客链接:https://www.cnblogs.com/ping2yingshi/p/12523816.html 最长回文数(50min) 题目链接:https://leetcode-cn.com/problems/longest-palindrome/ 给定一个包含大写字母和小写字母的字符串, 阅读全文
摘要:
此博客链接:https://www.cnblogs.com/ping2yingshi/p/12517261.html 矩形重叠(43min) 题目链接:https://leetcode-cn.com/problems/rectangle-overlap/ 矩形以列表 [x1, y1, x2, y2] 阅读全文
摘要:
此博客链接:https://www.cnblogs.com/ping2yingshi/p/12513695.html 拼写单词(55min) 题目链接:https://leetcode-cn.com/problems/find-words-that-can-be-formed-by-characte 阅读全文
摘要:
此博客链接:https://www.cnblogs.com/ping2yingshi/p/12503842.html 1.把数组转换成List集合 方法一:通过List构造方法 说明:通过ArrayList中一个构造方法来将数组转化成ArrayList,但是由于ArrayList中的构造方法里面没有 阅读全文