
LeetCode
destiny若小羽
这个作者很懒,什么都没留下…
展开
-
LeetCode[1]
第一次写博客,记录自己水水的过程。最近开始准备刷leetCode,从C++入手,然后意识到自己到底有多菜。废话不多说,开始吧。努力的和这个洪荒巨兽战斗,看看是我把它按在地上蹂躏,还是它把我扔在地上摩擦。(1)Two Sum:要求:Given an array of integers, return indices of the two numbers such that they add...转载 2019-05-10 16:25:13 · 113 阅读 · 0 评论 -
LeetCode[3]
LeetCode刷题C++算法第三关:题目:Given a string, find the length of the longest substring without repeating characters.Example 1:Input: “abcabcbb”Output: 3Explanation: The answer is “abc”, with the length ...转载 2019-05-21 15:43:41 · 192 阅读 · 0 评论 -
LeetCode[2]
LeetCode刷题C++算法第二关:题目:You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the ...转载 2019-05-16 14:44:13 · 214 阅读 · 0 评论