![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
编程学习
飞行荷兰人
这个作者很懒,什么都没留下…
展开
-
D. Merge Equals 优先队列
题目:http://codeforces.com/contest/962/problem/D题目大意:给定一串正整数For example, consider the given array looks like [3,4,1,2,2,1,1][3,4,1,2,2,1,1]. It will be changed in the following way: [3,4,1,2,2,1,1] → [3...原创 2018-04-11 14:34:34 · 156 阅读 · 0 评论 -
Leetcode-01-Tow SUM
题目链接:https://leetcode.com/problems/two-sum/ 简述: Given an array of integers, returnindicesof the two numbers such that they add up to a specific target. You may assume that each input would haveex...原创 2019-03-31 21:55:28 · 107 阅读 · 0 评论 -
LeetCode 003 Longest Substring Without Repeating Characters
题目:LeetCode 3.Longest Substring Without Repeating Characters 题目大意:给定一串字符串,找出最长的没有重复字符的子串。 Example 1: Input: "abcabcbb" Output: 3 Explanation: The answer is"abc", with the length of 3. Exam...原创 2019-04-01 19:00:23 · 79 阅读 · 0 评论 -
LeetCode 002 Add Two Numbers
题目:LeetCode2. Add Two Numbers You are given twonon-emptylinked lists representing two non-negative integers. The digits are stored inreverse orderand each of their nodes contain a single digit. ...原创 2019-04-02 20:55:27 · 86 阅读 · 0 评论