一亩三分地论坛

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

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

请教&讨论亚马逊OA2 worksimulation三个题

[复制链接] |试试Instant~ |关注本帖
aimar_07 发表于 2016-3-8 22:04:52 | 显示全部楼层 |阅读模式

2016(1-3月) 码农类 硕士 全职@Amazon - 内推 - 在线笔试 |Otherfresh grad应届毕业生

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

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

x
想和大家请教下亚马逊OA2 WORKSIMULATION的三个题。

15 Customer Complaints on Recommendation Service. Waral 鍗氬鏈夋洿澶氭枃绔,
Priya Senior SDE
We have been receiving a lot of customer complaints over the past three days about problems on pages related to your new Recommendation feature. It is likely being caused by one of the three services you’re using. There have been no recent updates to the services and we have ruled out all external factors. This issue is affecting customers, resulting in our product order rate dropping. We really need to solve this as quickly as possible. The reporting team generated an error report(see attached), let me know what you think..鐣欏璁哄潧-涓浜-涓夊垎鍦
Thanks,
Priya

. from: 1point3acres.com/bbs
Based on the data in the Error Rate over Time report, how would you respond? Please select only one response option.. 鐣欏鐢宠璁哄潧-涓浜╀笁鍒嗗湴
Identify Service 1 as the problem
Identify Service 2 as the problem
Identify Service 3 as the problem
I think Service 1 is the problem, but I would like to see another report to confirm
I think Service 2 is the problem, but I would like to see another report to confirm
I think Service 3 is the problem, but I would like to see another report to confirm . 1point3acres.com/bbs
I dont know which service is the problem. I want to request another report to get additional information.. From 1point 3acres bbs

. 鐗涗汉浜戦泦,涓浜╀笁鍒嗗湴

[size=14.6667px]15题图片见附件,这题我个人倾向选“[size=14.6667px]I think Service 3 is the problem, but I would like to see another report to confirm [size=14.6667px]”,因为题干说最近三天,而最近三天Service3的错误率是上涨趋势,其他两个service涨跌没有规律,但是好像也不能仅凭这一点就断定是service3的问题。

. Waral 鍗氬鏈夋洿澶氭枃绔,
另外两个题是著名的购物车题,板上有很多讨论,但是并没有明确结论,感觉这俩题应该是有正确错误之分的,17题没看到代码没线索,18题倾向选C,想听听大家想法。谢谢
17 Last part of code
Aaron
. 鐣欏鐢宠璁哄潧-涓浜╀笁鍒嗗湴Here’s the last bit of code for the social network project. The code. more info on 1point3acres.com
snippet is attached to this email. Sorry this took so long to finish,
but it turned out to be more difficult than I thought. Can you just
give it a quick check to make sure everything looks okay? I’m leaving
for the day, so I’ll see you at the demonstration in the morning!. From 1point 3acres bbs
Thanks!. 鐗涗汉浜戦泦,涓浜╀笁鍒嗗湴
What is the problem with the Product.wasPurchasedByUser() method?
Please select only one response option.
It will run slowly because algorithm complexity is O(n^2)
It will run slowly on large datasets because more than one user could
have purchased the same product.
It will run slowly because algorithm complexity is O(n^3). from: 1point3acres.com/bbs
It has performance issues.


What is the most effective way of improving the ShoppingCart() class
for the long term? Please select only one response option. ?

A. ShoppingCart should not override the user property every time new product is added to it.
B. Make ShoppingCart a property of Product class to improve performance..鐣欏璁哄潧-涓浜-涓夊垎鍦
C. Change the design of ShoppingCart by removing ShoppingCart.user and making shopping cart a property of User instead..鏈枃鍘熷垱鑷1point3acres璁哄潧
D. Product should have getUser() method so that we know what user has added it to his/her shopping cart.


.1point3acres缃

15题

15题
天上飞哒猪 发表于 2016-3-8 22:12:40 | 显示全部楼层
LZ你这样发帖不好吧,毕竟这是可以搜到的啊。
回复 支持 反对

使用道具 举报

 楼主| aimar_07 发表于 2016-3-8 23:07:03 | 显示全部楼层
天上飞哒猪 发表于 2016-3-8 22:12
LZ你这样发帖不好吧,毕竟这是可以搜到的啊。

额,版主如果觉得不合适就删了吧
回复 支持 反对

使用道具 举报

本版积分规则

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

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

关闭

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

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

custom counter

GMT+8, 2016-12-6 03:06

Powered by Discuz! X3

© 2001-2013 Comsenz Inc. Design By HUXTeam

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