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


一亩三分地论坛

 找回密码
 获取更多干活,快来注册

一亩三分地官方iOS手机应用下载
查看: 1751|回复: 2
收起左侧

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

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

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

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

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

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

15 Customer Complaints on Recommendation Service
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


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-google 1point3acres
Identify Service 2 as the problem. 1point3acres.com/bbs
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 . From 1point 3acres bbs
I dont know which service is the problem. I want to request another report to get additional information.. 1point 3acres 璁哄潧



[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的问题。. 鍥磋鎴戜滑@1point 3 acres


另外两个题是著名的购物车题,板上有很多讨论,但是并没有明确结论,感觉这俩题应该是有正确错误之分的,17题没看到代码没线索,18题倾向选C,想听听大家想法。谢谢
17 Last part of code
Aaron
Here’s the last bit of code for the social network project. The code
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
-google 1point3acresfor the day, so I’ll see you at the demonstration in the morning!
Thanks!. 涓浜-涓夊垎-鍦帮紝鐙鍙戝竷
What is the problem with the Product.wasPurchasedByUser() method?
Please select only one response option.
. more info on 1point3acres.comIt will run slowly because algorithm complexity is O(n^2). From 1point 3acres bbs
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)
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.. from: 1point3acres.com/bbs
D. Product should have getUser() method so that we know what user has added it to his/her shopping cart.. more info on 1point3acres.com


. visit 1point3acres.com for more.

15题

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

使用道具 举报

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

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

使用道具 举报

本版积分规则

关闭

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

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

custom counter

GMT+8, 2017-5-28 18:33

Powered by Discuz! X3

© 2001-2013 Comsenz Inc. Design By HUXTeam

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