
一起刷LeetCode
赵卓不凡
公众号:AI算法之道
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
LeetCode(257)Binary Tree Paths
【题目】Given a binary tree, return all root-to-leaf paths.For example, given the following binary tree: 1 / \2 3 \ 5All root-to-leaf paths are:["1->2->5", "1->3"]【解答】原创 2016-01-04 19:13:55 · 507 阅读 · 0 评论 -
LeetCode(1)Two Sum
【题目】Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two numbers such that they add up to the tar原创 2015-12-04 20:59:21 · 1029 阅读 · 0 评论 -
LeetCode(2)Add Two Numbers
【题目】You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it a原创 2015-12-04 21:01:41 · 475 阅读 · 0 评论