摘要: 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 ... 阅读全文
posted @ 2018-10-29 18:28 jiuyang 阅读(336) 评论(1) 推荐(0) 编辑
摘要: 1、斐波那契数列 斐波那契数列(Fibonacci sequence),又称黄金分割数列、因数学家列昂纳多·斐波那契(Leonardoda Fibonacci)以兔子繁殖为例子而引入,故又称为“兔子数列”,指的是这样一个数列:1、1、2、3、5、8、13、21、34、……在数学上,斐波纳契数列以如下 阅读全文
posted @ 2018-10-29 11:53 jiuyang 阅读(2520) 评论(0) 推荐(0) 编辑