没用的程序设计题-美甲帮笔试题
2017-11-17 00:00
253 查看
package com.gulf.test; /** * 今天面试的一个递归程序题: * 1 1 2 3 5 8 13 ... * 求第30位是什么 * @author gulf * */ public class DiGui { public static void main(String[] args) { System.out.println(new DiGui().getResult(30)); } public int getResult(int x){ if(x == 1){ return x; } if(x == 2){ return x -1; } if(x > 2){ return getResult(x-1)+getResult(x-2); } return 0; } }
输出结果:832040
论一个IT管理者的素养:
最近在找工作页面试了一些公司,什么样的面试官都有遇到。
总体感觉:搞技术的很多对管理,心理认识,知识面都比较狭窄,情绪管理,表达力,涵养和包容度都有所欠缺。
这是中国大多数IT从业人员的一种现状,封闭,自负,以及自以为是。
相关文章推荐
- 2007年9全国计算机等级考试二级笔试试卷C++语言程序设计答案及解析
- 2015秋招笔试题之程序设计题集锦
- C++笔试题目(林锐的 高质量程序设计指南--C++/C )
- 程序设计-google2013校招笔试题
- C语言程序设计 笔试考试,试题样卷
- 小米2013校园招聘笔试题的第一道程序设计题
- (转)C/C++ 程序设计员应聘常见 面试笔试 试题深入剖析
- 程序设计-google2012校招笔试题
- C/C++ 程序设计员应聘常见面试笔试试题深入剖析
- C#笔试(程序设计)
- (记录)笔试题之语言和程序设计
- (记录)笔试题之语言和程序设计
- 写一个好的程序(面试及笔试中程序设计题要考察的内容)
- 一道笔试程序设计题
- 算法之美一书附录中笔试面试题目参考答案
- 搜狗校园招聘笔试
- 修作玉颜色,卖于帝王家(java笔试面试—-求职经历)
- 百度2014校园招聘 研发工程师笔试题
- 80386 汇编程序设计 80386实模式下编程II(七)
- 一道javascript正则笔试题目