推荐:数据科学课程和书籍清单以及培训讲座


一亩三分地论坛

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

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

Wepay 2轮电面 + zenefits 1st + Twilio

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

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

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

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

x
Wepay:
第一轮:. Waral 鍗氬鏈夋洿澶氭枃绔,
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.. From 1point 3acres bbs
[size=12.8000001907349px]# If the binfile contains an entry ("4321", true) then a card beginning with "4321" is a debit
[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-google 1point3acres
[size=12.8000001907349px]# card because it matches a longer pattern.

. 涓浜-涓夊垎-鍦帮紝鐙鍙戝竷
[size=12.8000001907349px]Zenefits:. 鐗涗汉浜戦泦,涓浜╀笁鍒嗗湴
[size=12.8000001907349px]1)random shuffle string
[size=12.8000001907349px]2) 跟wepay 第二题很像,也是给dictionary 和 单词要match, 用trie做;. 鐣欏鐢宠璁哄潧-涓浜╀笁鍒嗗湴

[size=12.8000001907349px]Twilio;
[size=12.8000001907349px]1) LRU cache
.鐣欏璁哄潧-涓浜-涓夊垎鍦

评分

1

查看全部评分

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

使用道具 举报

本版积分规则

关闭

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

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

custom counter

GMT+8, 2017-8-23 01:00

Powered by Discuz! X3

© 2001-2013 Comsenz Inc. Design By HUXTeam

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