一亩三分地论坛

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

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

Wepay 2轮电面 + zenefits 1st + Twilio

[复制链接] |试试Instant~ |关注本帖
tyr034 发表于 2015-4-30 06:18:09 | 显示全部楼层 |阅读模式

2015(4-6月) 码农类 本科 全职@Wepay 2轮电面 + zenefits 1st + Twilio - 网上海投 - 技术电面 |Otherfresh grad应届毕业生

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

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

x
Wepay:
第一轮:
median of two sorted array
第二轮:
[size=12.8000001907349px]BIN file validation.. 鐣欏鐢宠璁哄潧-涓浜╀笁鍒嗗湴
[size=12.8000001907349px]# Assume a BIN file to contain partial credit card numbers (from the front/prefixes) and an
[size=12.8000001907349px]# associated value true or false indicating whether the matching cards are debit cards or
[size=12.8000001907349px]# credit cards. The type of the card is determined by the longest matching prefix.
[size=12.8000001907349px]# e.g.
[size=12.8000001907349px]# If the binfile contains an entry ("4321", true) then a card beginning with "4321" is a debit. 鍥磋鎴戜滑@1point 3 acres
[size=12.8000001907349px]# card.
[size=12.8000001907349px]# e.g.
[size=12.8000001907349px]# If there is another entry ("432143", false) then a card beginning with "432143" is not a debit
[size=12.8000001907349px]# card because it matches a longer pattern.


[size=12.8000001907349px]Zenefits:. Waral 鍗氬鏈夋洿澶氭枃绔,
[size=12.8000001907349px]1)random shuffle string . From 1point 3acres bbs
[size=12.8000001907349px]2) 跟wepay 第二题很像,也是给dictionary 和 单词要match, 用trie做;
.1point3acres缃
[size=12.8000001907349px]Twilio;
[size=12.8000001907349px]1) LRU cache


EchoO 发表于 2015-5-1 02:12:09 | 显示全部楼层
Lz能详细讲下trie的解法么?
多谢
回复 支持 反对

使用道具 举报

本版积分规则

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

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

关闭

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

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

custom counter

GMT+8, 2016-12-6 20:25

Powered by Discuz! X3

© 2001-2013 Comsenz Inc. Design By HUXTeam

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