由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - 再问个amazon面试题
相关主题
有关Algorithms in Java/C++/C??? 有包子送哪里有Algorithms in C++ 的答案?
Algorithms的书intern2012申请总结
能推荐一本短小精悍的algorithm书吗?求推荐Data Structure的比较好的书
我到底该如何做leetcode请教跳槽建议 (转载)
谁有Algorithms in C++, Parts 1-4 课后习题答案?转CS的面试准备的问题
没有算法基础,从哪本书看比较好?神奇的小公司问我能否周日onsite,该如何回复?
Recommend a Book about Algorithm?处理几本计算机和机器学习相关书
问个算法题之被dynamic programming打败了一周后到G面试,但还未准备好
相关话题的讨论汇总
话题: users话题: book话题: books话题: bought话题: also
进入JobHunting版参与讨论
1 (共1页)
B*******1
发帖数: 2454
1
Amazon.com has the feature that if users search for particular CD or books
etc then it also tells what other related books/CDs users bought.
Example, if a user search for the book "Introduction to Algorithms" then it
also shows users who bought this book also bought "Robert Sedgewick -
Alogrithms in C++" or "Fundamentals in Data Structures".
Assuming everything is maintained in memory & file system what algorithm
will give this set of related intersection/connection ?
d*******d
发帖数: 2050
2
我觉得这是个图论结构题,问的是你要怎么建立这个图.
algorithm好像用不上什么特别的.

it

【在 B*******1 的大作中提到】
: Amazon.com has the feature that if users search for particular CD or books
: etc then it also tells what other related books/CDs users bought.
: Example, if a user search for the book "Introduction to Algorithms" then it
: also shows users who bought this book also bought "Robert Sedgewick -
: Alogrithms in C++" or "Fundamentals in Data Structures".
: Assuming everything is maintained in memory & file system what algorithm
: will give this set of related intersection/connection ?

B*******1
发帖数: 2454
3
我也觉得是,
譬如A书,用户甲买了A+B,用户乙买了A+C
amazon怎么提示B还是C啊,是不是A和B之间的weight根据多少用户买了A+B来定,然后
给提示的时候就根据所有从A出来的的edge给出weight最高那个node啊?
g**********y
发帖数: 14569
4
If A buy book b, find all users buy book b. Count these users' order, find
top two books to recommend.
In real, I believe they have better logic, like restrict books to same
category of book b.

★ 发自iPhone App: ChineseWeb - 中文网站浏览器

【在 B*******1 的大作中提到】
: 我也觉得是,
: 譬如A书,用户甲买了A+B,用户乙买了A+C
: amazon怎么提示B还是C啊,是不是A和B之间的weight根据多少用户买了A+B来定,然后
: 给提示的时候就根据所有从A出来的的edge给出weight最高那个node啊?

1 (共1页)
进入JobHunting版参与讨论
相关主题
一周后到G面试,但还未准备好谁有Algorithms in C++, Parts 1-4 课后习题答案?
问一个常见面试题,求讲解没有算法基础,从哪本书看比较好?
Listen to My Story(1): 算法书籍篇Recommend a Book about Algorithm?
[求书]Data Structures, Algorithms, And Applications In C++ 英文版问个算法题之被dynamic programming打败了
有关Algorithms in Java/C++/C??? 有包子送哪里有Algorithms in C++ 的答案?
Algorithms的书intern2012申请总结
能推荐一本短小精悍的algorithm书吗?求推荐Data Structure的比较好的书
我到底该如何做leetcode请教跳槽建议 (转载)
相关话题的讨论汇总
话题: users话题: book话题: books话题: bought话题: also