- 博客(3)
- 收藏
- 关注
原创 一天一算--二维数组中的查找
3.二维数组中的查找在一个二维数组中,每一行元素都按照从左到右递增的顺序排序,每一列元素都按照从上到下递增的顺序排序。实现一个查找功能的函数,函数的输入为二维数组和一个整数,判断数组中是否含有该整数。 example:| 1 | 3 | 4 | 6 | | 2 | 4 | 5 | 8 | | 3 | 6 | 7 | 10| | 5 | 8 | 9 | 12| 思路 ...
2018-08-15 21:03:05 96
原创 一天一算--Add Two Numbers
2.Add Two NumbersYou 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 ...
2018-08-14 22:20:54 100
原创 一天一算--TowSum
1.Tow SumGiven 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 ...
2018-08-13 21:51:39 171
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人