上一页 1 2 3 4 5 6 ··· 18 下一页
摘要: 序列前9项为:0, 1, 1, 2, 3, 5, 8, 13, 21 要注意非递归的话就是那一个变量帮助存储当前下一项的值,然后依次挪动两个指针往下即可注意如果n太大 会溢出 1publicstaticlongfib(intn){2if(n<=1)3returnn;4else5returnfib(n... 阅读全文
posted @ 2014-09-30 02:04 爱做饭的小莹子 阅读(1752) 评论(0) 推荐(0) 编辑
摘要: 转载自:http://placement.freshersworld.com/power-preparation/technical-interview-preparation/os-interview-questions-23351 1. What is an operating system?A... 阅读全文
posted @ 2014-09-23 10:21 爱做饭的小莹子 阅读(1451) 评论(0) 推荐(0) 编辑
摘要: What do Leonard Nimoy, Stana Katic, and RobertDowney Jr. have in common? They all have a Bacon number of 2. The Six Degreesof Kevin Bacon, a game crea... 阅读全文
posted @ 2014-09-22 05:13 爱做饭的小莹子 阅读(762) 评论(0) 推荐(0) 编辑
摘要: 转载自:http://blog.csdn.net/tm_wb/article/details/6319146数组链表堆栈和队列 数组链表堆栈和队列是最基本的数据结构,任何程序都会涉及到其中的一种或多种。1数组 数组是最最基本的数据结构,很多语言都内置支持数组。数组是使用一块连续的内存空间保存数据,保... 阅读全文
posted @ 2014-09-22 05:07 爱做饭的小莹子 阅读(8971) 评论(0) 推荐(0) 编辑
摘要: 这篇文章看的我醍醐灌顶的感觉,比之前本科时候学习的SSH架构 要清晰数倍非常感觉这篇博主的文章文章链接为:http://blog.sina.com.cn/s/blog_a6a6b3cd01017c57.html因为觉得写的太好了 想收藏一下 什么是SSH?SSH对应 struts spring h... 阅读全文
posted @ 2014-09-16 08:23 爱做饭的小莹子 阅读(2949) 评论(0) 推荐(0) 编辑
摘要: 转载自:http://www.admin10000.com/document/150.html SSH 为 struts+spring+hibernate 的一个集成框架,是目前较流行的一种JAVA Web应用程序开源框架。 Struts Struts是一个基于Sun J2EE平台的MVC... 阅读全文
posted @ 2014-09-16 07:46 爱做饭的小莹子 阅读(443) 评论(0) 推荐(0) 编辑
摘要: 题目:Given a collection of numbers that might contain duplicates, return all possible unique permutations.For example,[1,1,2] have the following unique... 阅读全文
posted @ 2014-08-08 00:26 爱做饭的小莹子 阅读(4859) 评论(0) 推荐(0) 编辑
摘要: 题目: Implement atoi to convert a string to an integer.Hint: Carefully consider all possible input cases. If you want a challenge, please do not see be... 阅读全文
posted @ 2014-08-07 10:29 爱做饭的小莹子 阅读(7921) 评论(0) 推荐(0) 编辑
摘要: 题目:Implement strStr().Returns a pointer to the first occurrence of needle in haystack, or null if needle is not part of haystack.题解:其实我觉得这题。。为啥不给个更明确... 阅读全文
posted @ 2014-08-07 10:20 爱做饭的小莹子 阅读(8711) 评论(0) 推荐(0) 编辑
摘要: 题目:Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers.If such arrangement is not pos... 阅读全文
posted @ 2014-08-07 09:09 爱做饭的小莹子 阅读(5393) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 18 下一页