LeetCode
绍玮
这个作者很懒,什么都没留下…
展开
-
LeetCode #2:Add Two Numbers(中等题)
目录原题翻译分析代码(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 ...原创 2018-09-25 16:02:56 · 293 阅读 · 0 评论 -
LeetCode刷题记录与题解(C++版本)
LeetCode刷题记录与题解已刷题目汇总链接1. Two Sum 已刷题目汇总链接 刷题顺序以LeetCode题号为序,下文为已刷题目链接。 1. Two Sum 给出一个数组和目标值,返回数组中两个数相加为目标值的数组元素下标。 ...原创 2018-09-20 15:26:59 · 2286 阅读 · 0 评论 -
LeetCode #1:Two Sum(简单题)
原题 Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have exactly one solution, and you may not use the sam...原创 2018-09-20 16:18:57 · 503 阅读 · 0 评论