查看: 5001| 回复: 5
跳转到指定楼层
上一主题 下一主题
收起左侧

[找工就业] Robinhood Codesignal New Grad OA

全局:

2020(7-9月)-CS本科+1-3年 | 网上海投|BayArea湾区 码农类General全职@robinhood

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

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

x
本帖最后由 Pickel 于 2020-9-8 01:01 编辑

第一次发帖,求大米。

q1: freebie. .и

q2: Given an array, shift the index 0 to the back of the array and repeat. Return true if the array is a cyclic identity array or the reverse of a cyclic identity array, else false. A cyclic identity array is [1,2,3,4, ..., len(arr)], the reverse of a cyclic identity array is [len(arr), 8, 7, ..., 4,3,2,1]. So [5,1,2,3,4] should return true because [5,1,2,3,4]  -> [1,2,3,4,5] and [1,2,3,4,5] is a cyclic identity array.

q3: Given a 2d matrix. if matrix[j] == "F", then that cell is a part of a connected figure. if  matrix[j] == "#", then that cell is a obstacle. if matrix[j] == "." then its empty. Gravity applies, the connected figure will fall down from the matrix. Make the figure fall until any of the figure hits an obstale or the ground.

q4: Given an array, find the number of subarrays that contain each of its numbers at least twice. So [0,0,0] should return 3 because [0,0] from index0 ~ index1, [0,0,0] from index0 ~ index2, and [0,0] from index1 ~ index2

. From 1point 3acres bbs

评分

参与人数 5大米 +5 收起 理由
BigNow + 1 很有用的信息!
谢婆婆 + 1 欢迎分享你知道的情况,会给更多积分奖励!
sherwin719 + 1 很有用的信息!
AzureJJEC + 1 给你点个赞!
炫酷小螺丝钉 + 1 赞一个

查看全部评分


上一篇:Facebook iOS engineer hr phonescreen怎么准备?
下一篇:被简历拒后referral有用吗?
🔗
raincode 2020-9-8 05:09:05 | 只看该作者
全局:
freebie是什么意思?
回复

使用道具 举报

🔗
 楼主| Pickel 2020-9-8 05:20:42 | 只看该作者
全局:
raincode 发表于 2020-9-8 05:09.1point3acres
freebie是什么意思?

送分题的意思。
回复

使用道具 举报

🔗
raincode 2020-9-8 10:02:47 | 只看该作者
全局:
现在NG OA都这么难啊, 还是就R家这么干?
回复

使用道具 举报

全局:
raincode 发表于 2020-09-07 19:02:47
现在NG OA都这么难啊, 还是就R家这么干?
你还没做到电面和Onsite呢…
这公司就是Bar贼高
回复

使用道具 举报

🔗
yf233 2020-9-23 00:52:36 | 只看该作者
全局:
请问第四题应该是什么思路呢
回复

使用道具 举报

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

本版积分规则

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