谷歌经典面试题

(1)
1
1 1
2 1
1 2 1 1
1 1 1 2 2 1

下一行是什么?

答案:





其实每一行都是对上一行的“统计”,而且去掉了汉字。
第一行:“1”统计为:1个1,去掉“个”字,就变成了“11”,也就是第二行。
同理,第二行可统计为:2个1,去掉“个”字,就变成了“21”,也就是第三行。
同理,第三行可统计为:1个2和1个1,去掉“个”字和“和”字,就变成了“1211”,也就是第四行。
同理,第四行可统计为:1个1和1个2和2个1,去掉“个”字和“和”字,就变成了“111221”,也就是第五行。
同理,第五行可统计为:3个1和2个2和1个1,去掉“个”字和“和”字,就变成了“312211”,也就是第六行。




(2) 数列中下一个应该是: 10, 9, 60, 90, 70, 66, ?

A) 96
B) 1000000000000000000000000000000000
0000000000000000000000000000000000
000000000000000000000000000000000
C) Either of the above
D) None of the above



答案:

This can be looked up and found to be sequence A052196 in the On-Line Encyclopedia of Integer Sequences, which gives the largest positive integer whose English name has n letters. For example, the first few terms are ten, nine, sixty, ninety, seventy, sixty-six, ninety-six, …. A more correct sequence might be ten, nine, sixty, googol, seventy, sixty-six, ninety-six, googolplex. And also note, incidentally, that the correct spelling of the mathematical term “google” differs from the name of the company that made up this aptitude test.


第二题的答案和题目没有看懂,有人帮忙解释下吗??


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值