上一页 1 2 3 4 5 6 7 8 9 ··· 39 下一页
摘要: 博客园:https://blog.csdn.net/renweiyi1487/article/details/109321267 题目 链接:https://leetcode-cn.com/problems/construct-binary-tree-from-inorder-and-postord 阅读全文
posted @ 2020-10-27 22:12 消灭猕猴桃 阅读(83) 评论(0) 推荐(0) 编辑
摘要: csdn:https://blog.csdn.net/renweiyi1487/article/details/109319192 题目 链接:https://leetcode-cn.com/problems/contains-duplicate-ii 给定一个整数数组和一个整数 k,判断数组中是否 阅读全文
posted @ 2020-10-27 19:53 消灭猕猴桃 阅读(42) 评论(0) 推荐(0) 编辑
摘要: csdn:https://blog.csdn.net/renweiyi1487/article/details/109317644 题目 链接: https://leetcode-cn.com/problems/4sum/ 给定一个包含 n 个整数的数组 nums 和一个目标值 target,判断 阅读全文
posted @ 2020-10-27 18:41 消灭猕猴桃 阅读(86) 评论(0) 推荐(0) 编辑
摘要: csdn:https://blog.csdn.net/renweiyi1487/article/details/109309258 题目 给定四个包含整数的数组列表 A , B , C , D ,计算有多少个元组 (i, j, k, l) ,使得 A[i] + B[j] + C[k] + D[l] 阅读全文
posted @ 2020-10-27 13:47 消灭猕猴桃 阅读(91) 评论(0) 推荐(0) 编辑
摘要: csdn:https://blog.csdn.net/renweiyi1487/article/details/109308919 题目 链接:https://leetcode-cn.com/problems/binary-tree-preorder-traversal 给定一个二叉树,返回它的 前 阅读全文
posted @ 2020-10-27 13:17 消灭猕猴桃 阅读(73) 评论(0) 推荐(0) 编辑
摘要: csdn:https://blog.csdn.net/renweiyi1487/article/details/109296906 题目 链接:https://leetcode-cn.com/problems/how-many-numbers-are-smaller-than-the-current 阅读全文
posted @ 2020-10-26 20:45 消灭猕猴桃 阅读(83) 评论(0) 推荐(0) 编辑
摘要: csdn:https://blog.csdn.net/renweiyi1487/article/details/109276885 题目一: 5546. 按键持续时间最长的键 链接:https://leetcode-cn.com/problems/slowest-key LeetCode 设计了一款 阅读全文
posted @ 2020-10-25 19:42 消灭猕猴桃 阅读(118) 评论(0) 推荐(0) 编辑
摘要: csdn:https://blog.csdn.net/renweiyi1487/article/details/109270033 原题地址:https://leetcode-cn.com/problems/longest-mountain-in-array 我们把数组 A 中符合下列属性的任意连续 阅读全文
posted @ 2020-10-25 10:15 消灭猕猴桃 阅读(100) 评论(0) 推荐(0) 编辑
摘要: csdn:https://blog.csdn.net/renweiyi1487/article/details/109265337 编写一个算法来判断一个数 n 是不是快乐数。 「快乐数」定义为:对于一个正整数,每一次将该数替换为它每个位置上的数字的平方和,然后重复这个过程直到这个数变为 1,也可能 阅读全文
posted @ 2020-10-24 20:34 消灭猕猴桃 阅读(84) 评论(0) 推荐(0) 编辑
摘要: csdn:https://blog.csdn.net/renweiyi1487/article/details/109264635 给定两个数组,编写一个函数来计算它们的交集。 示例 1: 输入:nums1 = [1,2,2,1], nums2 = [2,2] 输出:[2] 示例 2: 输入:num 阅读全文
posted @ 2020-10-24 20:03 消灭猕猴桃 阅读(80) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 39 下一页