一亩三分地论坛

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

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

square面经

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

2016(1-3月) 码农类 硕士 全职@Square - 网上海投 - Onsite |Other在职跳槽

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

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

x
1 pair programming

给了reference date是星期几, 然后input是year, month, day
output求出那一天是星期几. 1point 3acres 璁哄潧

2 pair programming

Given a tree, nodes have dependencies upon each other, like a binary tree.. From 1point 3acres bbs
-google 1point3acres
some nodes may have duplicate, we should find this duplicate and try to attach them to a lca to minimize the tree structure 鏉ユ簮涓浜.涓夊垎鍦拌鍧.
比如. 涓浜-涓夊垎-鍦帮紝鐙鍙戝竷
   A                   A
b     c           b    c     d.鏈枃鍘熷垱鑷1point3acres璁哄潧
            -> .1point3acres缃
d     d

d有duplicate的,我们找到他们的lca然后把d添加为A的child. From 1point 3acres bbs

3 pair programming. visit 1point3acres.com for more.

grid, cells are black/white, given a ant start position, and direction.

black: turn left
white: turn right

flip the cell when ant leave

output the final grid after k steps 鏉ユ簮涓浜.涓夊垎鍦拌鍧.


4 past experience. 鐣欏鐢宠璁哄潧-涓浜╀笁鍒嗗湴

5 design problem

. 1point 3acres 璁哄潧design a stock trading app

6 engineering manager talk
鏉ユ簮涓浜.涓夊垎鍦拌鍧.

本版积分规则

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

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

关闭

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

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

custom counter

GMT+8, 2017-2-28 19:31

Powered by Discuz! X3

© 2001-2013 Comsenz Inc. Design By HUXTeam

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