- 博客(5)
- 收藏
- 关注
转载 Leetcode:Sum Root to Leaf Numbers
本文转自:http://hombo.wang/leetcode/2014/10/06/sum-root-to-leaf-numbers/
2014-10-07 20:13:22 302
转载 Leetcode Surrounded Regions
本文转自:http://hombo.wang/leetcode/2014/10/06/surrounded-regions/
2014-10-07 20:13:16 351
转载 Leetcode: Longest Consecutive Sequence
本文转自: http://hombo.wang/leetcode/2014/10/06/longest-consecutive-sequence/
2014-10-07 20:10:57 326
转载 swap两个int指针指向的数
这是一道最近的面试题,感谢斌哥的奉献! 题目是: 填写下面的函数,实现a和b指针指向的两个数的交换。void swap(int *a , int *b){ *a = ________ ; *b = ________ ; *a = ________ ;}分析:我们知道对于两个数a,b的交换,如果不借助其他变量,也是可以实现的,方法有下面几种:用加减法
2014-10-05 22:27:08 490
原创 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 ta
2014-10-01 18:45:33 388
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人