一亩三分地论坛

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

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

AMAZON ONLINE ASSIGNMENT

[复制链接] |试试Instant~ |关注本帖
JamesGTI 发表于 2014-10-23 10:44:18 | 显示全部楼层 |阅读模式

2015(1-3月) 码农类 硕士 全职@Amazon - Other - 在线笔试 |Other

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

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

x
Amazon online test
2-Coding 1h10mins
  1.  Right reflection (crack coding interview 1.8)
  2.  Eliminate all vowels from a string
#3  Should be Gray Code.
3.      
You can choose one of C, C++ and Java. Youcan compile and run but only show first two naïve cases of several cases(about 20 in total). Thereis no time consumption metrics shown. I just check each signatured function, some points in details:
If you choose C++, the input string will belike(char* string). All the input and return value will be just a C-stylestring. The instruction shows hint to use strlen(string) to get the length of astring. When I test my code, I found parts of STL works, such as std::string,iterator. However, the std::<algorithm> is not included. I am not sure about other container like <set>. Be careful of theinput name(char* string) if you want to use std::<string>. You may uses.c_str() to return a char*. It seems there is no memory leaks checking in thetest cases.
For C, everything shows almost the same asC++
For the Java, the input is String. Also youcan use methods like  indexOf()
The reasoning part: 35mins 24 problems
Prepare a character to number chart. That’suseful for first four problems.
Some number problems, like progression
For the direction problems, be carefulabout the starting point. Also need to know some operations like “About-turn”.
For the recruiting problems, consider theDate and years. I met a DOB problems and not sure whether it is “insufficientdata”.
For factory problems,   take care of the global assumptions andlocal assumptions.

Thanks all the farmers!
Good Luck Everyone!

评分

1

查看全部评分

angle22 发表于 2014-10-24 05:21:04 | 显示全部楼层
Thanks for sharing! bless
回复 支持 反对

使用道具 举报

joy9088 发表于 2014-10-24 10:37:59 | 显示全部楼层
thank you for 分享
回复 支持 反对

使用道具 举报

lchen77 发表于 2015-3-4 03:41:46 | 显示全部楼层
thanks for sharing.
回复 支持 反对

使用道具 举报

本版积分规则

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

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

关闭

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

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

custom counter

GMT+8, 2016-12-10 00:34

Powered by Discuz! X3

© 2001-2013 Comsenz Inc. Design By HUXTeam

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