摘要: A:Find K-th Smallest Pair Distance Hard 题目:Given an integer array, return the k-th smallest distance among all the pairs. The distance of a pair (A, B 阅读全文
posted @ 2019-06-30 22:03 wujunjie007 阅读(93) 评论(0) 推荐(0) 编辑
摘要: A:Maximum Sum of 3 Non-Overlapping Subarrays 题目:In a given array nums of positive integers, find three non-overlapping subarrays with maximum sum. Eac 阅读全文
posted @ 2019-06-23 22:59 wujunjie007 阅读(112) 评论(0) 推荐(0) 编辑
摘要: A:Beautiful Arrangement II Medium 题目:Given two integers n and k, you need to construct a list which contains n different positive integers ranging fro 阅读全文
posted @ 2019-06-16 21:26 wujunjie007 阅读(102) 评论(0) 推荐(0) 编辑
摘要: A:Circular Array Loop Medium 题目: You are given a circular array nums of positive and negative integers. If a number k at an index is positive, then mo 阅读全文
posted @ 2019-06-09 23:13 wujunjie007 阅读(106) 评论(0) 推荐(0) 编辑
摘要: A:Product of Array Except Self Medium 题目:Given an array nums of n integers where n > 1, return an array output such that output[i] is equal to the pro 阅读全文
posted @ 2019-06-02 23:19 wujunjie007 阅读(272) 评论(0) 推荐(0) 编辑
摘要: A:Find Peak Element Medium 题目:A peak element is an element that is greater than its neighbors. Given an input array nums, where nums[i] ≠ nums[i+1], f 阅读全文
posted @ 2019-05-26 22:54 wujunjie007 阅读(75) 评论(0) 推荐(0) 编辑
摘要: A:Longest Consecutive Sequence Hard 题目: Given an unsorted array of integers, find the length of the longest consecutive elements sequence. Your algori 阅读全文
posted @ 2019-05-19 21:20 wujunjie007 阅读(87) 评论(0) 推荐(0) 编辑
摘要: A: Word Ladder II Hard 题目: 给定两个字符串,和一个字符串字典,这些字符串都是长度相等,并且字典中的字符串都不同,起始字符串通过字典进行转换,两个字符串要转换, 需要满足,只有一个字符不同其他均相同,每个字符串只能使用一次,得到所有的从起始字符串转换成目标字符串的最短的转换路 阅读全文
posted @ 2019-05-12 22:56 wujunjie007 阅读(169) 评论(0) 推荐(0) 编辑
摘要: A:Regular Expression Matching Hard A:Regular Expression Matching Hard Given an input string (s) and a pattern (p), implement regular expression matchi 阅读全文
posted @ 2019-05-05 22:46 wujunjie007 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 周期:一周 A:Algorithm 至少完成一道 leetcode的算法题 R: Review 至少阅读并点评一篇英文技术文章 T:Tip 至少学习一个技术技巧 S:Share 分享一篇有观点和思考的技术文章 阅读全文
posted @ 2019-05-05 22:46 wujunjie007 阅读(97) 评论(0) 推荐(0) 编辑