摘要: 大家都知道斐波那契数列,现在要求输入一个整数n,请你输出斐波那契数列的第n项。 n<=39 1 1 2 3 5... C++: 一只青蛙一次可以跳上1级台阶,也可以跳上2级。求该青蛙跳上一个n级的台阶总共有多少种跳法 1 2 3 5... f(n)=f(n-1)+f(n-2)注意 f1=1 f2=2 阅读全文
posted @ 2017-12-07 10:52 __Meng 阅读(277) 评论(0) 推荐(0)
摘要: You are given a data structure of employee information, which includes the employee's unique id, his importance value and his directsubordinates' id. 阅读全文
posted @ 2017-12-07 10:24 __Meng 阅读(229) 评论(0) 推荐(0)