《数据科学面试40+真题讲解》,K神本年度最后一次开课


一亩三分地论坛

 找回密码
 Sign Up 注册获取更多干货
码农求职神器Triplebyte:
不用海投,内推你去多家公司面试
Airbnb 数据科学职位
in analytics and inference
天天打游戏、照样领工资,
你要不要来?
把贵司招聘信息放这里
查看: 2406|回复: 3
收起左侧

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

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

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

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

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

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

15 Customer Complaints on Recommendation Service. 1point3acres.com/bbs
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.. more info on 1point3acres.com
Thanks,
Priya
. From 1point 3acres 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 . From 1point 3acres bbs
I dont know which service is the problem. I want to request another report to get additional information.



[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的问题。.1point3acres缃
. 涓浜-涓夊垎-鍦帮紝鐙鍙戝竷

另外两个题是著名的购物车题,板上有很多讨论,但是并没有明确结论,感觉这俩题应该是有正确错误之分的,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 鏉ユ簮涓浜.涓夊垎鍦拌鍧.
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.. 1point3acres.com/bbs
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)
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.. 鍥磋鎴戜滑@1point 3 acres
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你这样发帖不好吧,毕竟这是可以搜到的啊。

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

使用道具 举报

Sendoh2015 发表于 2017-10-19 15:25:12 | 显示全部楼层
shopping cart那题我也想知道答案
回复 支持 反对

使用道具 举报

本版积分规则

关闭

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

手机版|小黑屋|一亩三分地论坛声明

custom counter

GMT+8, 2017-11-25 14:05

Powered by Discuz! X3

© 2001-2013 Comsenz Inc. Design By HUXTeam

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