May 2009 - May 2017 论坛八周年-你的足迹,我的骄傲



查看: 1518|回复: 5

1.29 亚麻实习面经

[复制链接] |试试Instant~ |关注本帖
hotinherre 发表于 2016-1-30 04:30:34 | 显示全部楼层 |阅读模式

2016(1-3月) 码农类 硕士 实习@Amazon - 内推 - 技术电面 |Otherfresh grad应届毕业生


您需要 登录 才可以下载或查看,没有帐号?获取更多干活,快来注册

人生处女面,紧张的不行, 但是开始就好多了。 Interviewer is a native speaker, David.Begin: hello, you are now a student?
me : yeah , ms in USC.. 鍥磋鎴戜滑@1point 3 acres
1. 问是否有开发过项目,非学校类的。 我就给他说了我本科做的很水的windows软件管理程序, 他最后总结成了我研究windows内核是吧,不错。。。 其实就调用几个process api..
  David:Do you take class of OOP? . Waral 鍗氬鏈夋洿澶氭枃绔,
. 鐗涗汉浜戦泦,涓浜╀笁鍒嗗湴
. From 1point 3acres bbs
  me:  Sure, I use java and c++,.
  David:Desgin a Train model for me.

      I though he want me to say somthing about tree or trie. So I told him in java we have treeSet, treeMap, and diffrence between hashSet and HashMap. 鏉ユ簮涓浜.涓夊垎鍦拌鍧.
      Then I said If you want me to implement a tree, so for binary tree we get a node and a left node a right node. For normal tree, we can have a arrayList<node> to store the tree node.
  David: no Not that "tree".1point3acres缃
     Then I begin to tell him how to build up a trie with HashMap<Character, <trieNode>>, how to insert, how to check..
  David: cool, thats alsome, but not that trie... We misunderstand each other, but you show your skills, it's cool. Now you can log in the collaedite, I type it for you.. Waral 鍗氬鏈夋洿澶氭枃绔,
. more info on
It's train....LOL......  
  So just design a superClass for Train, and set some vairable for that class.. Done... I didn't start to desgin method, he said it's cool, lets move on.. 鐣欏鐢宠璁哄潧-涓浜╀笁鍒嗗湴
   David: give you a thousands of website, how can you find out the unique PhoneNumber.
   I told him I can use hashMap to store these phoneNumber, but he ask me how to locate the phoneNume, I just said that I wanna use divide conquer or binary search, but it cannot work. So
I just use brute search line by line to find out the "phone" Strings.. .鏈枃鍘熷垱鑷1point3acres璁哄潧
*/. 鍥磋鎴戜滑@1point 3 acres
  David: yeah, it's kind of a solution lets move to the code part!!!

4. 饿了,快点打完吃饭了。。。。  递归求和  f(1234) = 10......   
    I tought it's just a warmUp.
But david said: fine, we are done...... We have 25more mins, what do you want to know?  serious............

5. So how to solve that find unique numbers in websites problem..
then: He type linux command in the collaedit, and begin to tell me something about unix script.... Like using grep ,blablabla..

就这么结束了,我觉得就是看看交流能力吧。。 我英语虽然发音不太准,但交流还是没问题的, 全程有说有笑的。。。 这么个面法,,, 不能把我拒了吧。。 理由不会是,面试内容太简单。。。。。。。。。。。。


补充内容 (2016-2-3 11:12):. from:
2.2 号被拒了 果然是太简单拒我 好吧




 楼主| hotinherre 发表于 2016-1-30 04:37:20 | 显示全部楼层
train那里 设计了一个 火车每一站的列表,我用了个arrayList<startNode(City,Time),endNode(City,Time)>
. more info on
补充内容 (2016-1-30 04:38):
就用嘴说说 细节怎么处理都没管 好水好水的。。。
回复 支持 反对

使用道具 举报

喜马拉雅疯子 发表于 2016-1-31 00:54:30 | 显示全部楼层
//valid phone number
// grep -P '^(\(\d{3}\) |\d{3}-)\d{3}-\d{4}$' file.txt
// \d is a Perl-flavored regular expression,
//which Mac OS X's grep -E supports directly.
//However, in GNU grep you need to use grep -P to
//enable this feature.
回复 支持 反对

使用道具 举报

 楼主| hotinherre 发表于 2016-2-2 02:40:33 | 显示全部楼层
喜马拉雅疯子 发表于 2016-1-31 00:54
//valid phone number. 1point 3acres 璁哄潧
// grep -P '^(\(\d{3}\) |\d{3}-)\d{3}-\d{4}$' file.txt
// \d is a Perl-flavor ...

对的 差不多是这些 但是我真的没用过grep..  反正面试官笑嘻嘻的说 那你没用过就没办法了。 希望能有offer
回复 支持 反对

使用道具 举报

 楼主| hotinherre 发表于 2016-2-3 11:12:16 | 显示全部楼层
果然 面试内容太简单 据了我 实力FLAG!
回复 支持 反对

使用道具 举报



一亩三分地推荐上一条 /5 下一条

手机版|小黑屋|一亩三分地论坛声明 ( 沪ICP备11015994号 )

custom counter

GMT+8, 2017-5-28 03:57

Powered by Discuz! X3

© 2001-2013 Comsenz Inc. Design By HUXTeam

快速回复 返回顶部 返回列表