回复: 4
跳转到指定楼层
上一主题 下一主题
收起左侧

Foursquare Coding Test

全局:

2016(1-3月) 分析|数据科学类 博士 全职@foursquare - 猎头 - 其他  | | Pass | 在职跳槽

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

您需要 登录 才可以下载或查看附件。没有帐号?注册账号

x
Q1: 给你一个List of intervals,问你这些interval merge之后没有被cover的interval是啥
A1: 基本的排序 + sweep line
.
Q2: 给你一个HTTP routing的configuration file,比如说:
  
/
  
  
rootEndpoint
  
  
/user
  
  
userEndpoint
  
  
/user/friends
  
  
userFriendsEndpoint
  
  
/user/lists
  
  
userListsEndpoint
  
  
/user/X
  
  
userEndpoint
  
  
/user/X/friends
  
  
userFriendsEndpoint
  
  
/user/X/lists
  
  
userListsEndpoint
  
  
您好!
本帖隐藏的内容需要积分高于 188 才可浏览
您当前积分为 0。
使用VIP即刻解锁阅读权限或查看其他获取积分的方式
游客,您好!
本帖隐藏的内容需要积分高于 188 才可浏览
您当前积分为 0。
VIP即刻解锁阅读权限 或 查看其他获取积分的方式
Unlock interview details and practice with AI
Popular Interview Questions from Top Companies
v align="left">A2: 这也是个很简单的题目,直接对endpoint table建一个Trie就可以了。

Q3: 设计一个track Foursquare users当前location的service,这个service会得到每个check-in的信息,同时需要real-time的回答这些query:

  • Where is user A right now?
  • What users are at venue X     right now?
同时规定:

  • A user can only be at one     venue at a time. If user A checks in at venue X and then at venue Y, they     are no longer at venue X.
  • A check-in only     "lasts" for at most 3 hours. If user A checks in at venue X and     then does nothing for 3 hours, they are no longer at venue X.
[size=14.6667px]A3: 这是一个很开放的问题,我就不贴自己的答案了 =_=




上一篇:Amazon research scientist实习面经
下一篇:Foursquare Onsite面经
🔗
tiancaihxx 2016-11-1 11:32:39 | 只看该作者
全局:
拿到一个差不多的test,从lz答案受到不少启发!
回复

使用道具 举报

🔗
jeffzhang8716 2018-8-15 00:15:22 | 只看该作者
全局:
stanleylei 发表于 2018-8-13 23:22
请问你做过OA了吗 能否分享下面经?谢谢
. 1point3acres.com
后来没去面试,就没做
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册账号
隐私提醒:
  • ☑ 禁止发布广告,拉群,贴个人联系方式:找人请去🔗同学同事飞友,拉群请去🔗拉群结伴,广告请去🔗跳蚤市场,和 🔗租房广告|找室友
  • ☑ 论坛内容在发帖 30 分钟内可以编辑,过后则不能删帖。为防止被骚扰甚至人肉,不要公开留微信等联系方式,如有需求请以论坛私信方式发送。
  • ☑ 干货版块可免费使用 🔗超级匿名:面经(美国面经、中国面经、数科面经、PM面经),抖包袱(美国、中国)和录取汇报、定位选校版
  • ☑ 查阅全站 🔗各种匿名方法

本版积分规则

>
1Point3Acres.com does not represent or guarantee the truthfulness, accuracy, or reliability of any of communications posted by users.
Copyright ©2009-2026 1Point3Acres.com All rights reserved. See Terms of Service.
关注我们