一亩三分地论坛

 找回密码
 获取更多干货,去instant注册!

扫码关注一亩三分地公众号
查看: 1179|回复: 5
收起左侧

1.29 亚麻实习面经

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

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

注册一亩三分地论坛,查看更多干货!

您需要 登录 才可以下载或查看,没有帐号?获取更多干货,去instant注册!

x
人生处女面,紧张的不行, 但是开始就好多了。 Interviewer is a native speaker, David.Begin: hello, you are now a student?
me : yeah , ms in USC..鏈枃鍘熷垱鑷1point3acres璁哄潧
1. 问是否有开发过项目,非学校类的。 我就给他说了我本科做的很水的windows软件管理程序, 他最后总结成了我研究windows内核是吧,不错。。。 其实就调用几个process api... more info on 1point3acres.com
2.. visit 1point3acres.com for more.
  David:Do you take class of OOP?

.鐣欏璁哄潧-涓浜-涓夊垎鍦
  me:  Sure, I use java and c++,.
  David:Desgin a Train model for me.

.鏈枃鍘熷垱鑷1point3acres璁哄潧  /*.鐣欏璁哄潧-涓浜-涓夊垎鍦
      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.com/bbs
  /*
. 鍥磋鎴戜滑@1point 3 acres     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.. more info on 1point3acres.com

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.
3.
   David: give you a thousands of website, how can you find out the unique PhoneNumber.-google 1point3acres
/*
   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..
*/
  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..

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



. 鍥磋鎴戜滑@1point 3 acres

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

评分

3

查看全部评分

 楼主| hotinherre 发表于 2016-1-30 04:37:20 | 显示全部楼层
train那里 设计了一个 火车每一站的列表,我用了个arrayList<startNode(City,Time),endNode(City,Time)>

补充内容 (2016-1-30 04:38):
就用嘴说说 细节怎么处理都没管 好水好水的。。。
回复 支持 反对

使用道具 举报

喜马拉雅疯子 发表于 2016-1-31 00:54:30 | 显示全部楼层
//valid phone number. 鍥磋鎴戜滑@1point 3 acres
// 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
// 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!
回复 支持 反对

使用道具 举报

本版积分规则

请点这里访问我们的新网站:一亩三分地Instant.

Instant搜索更强大,不扣积分,内容组织的更好更整洁!目前仍在beta版本,努力完善中!反馈请点这里

关闭

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

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

custom counter

GMT+8, 2016-12-9 06:22

Powered by Discuz! X3

© 2001-2013 Comsenz Inc. Design By HUXTeam

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