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

[找工就业] 巨婴 hiring event新鲜OA

🔗
匿名用户-YFGH5  2021-3-11 13:56:43 |倒序浏览

2021(1-3月)-CS硕士+1-3年 | 内推| 码农类General全职@microsoft

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

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

x
Task 1
Find the bug(s) and modify one line code.
Find max value in an array那题
把0改成nums[0]就可以了,其它地方不用改。

Task 2
Write a function solution that, given an array A of N integers [-100, 100], returns the sign (-1, 0, 1) of all numbers in the array multiple together.
Assuming that N is between 1 and 1000..1point3acres

For example, given A = [1,-2,-3,5], the function should return 1
Given A = [1,2,3,-5], your function should return -1
Given A = [1,2,0,-5], your functin should return 0
水过

Task 3
选择题一共10题,详见:
https://www.1point3acres.com/bbs ... 6orderby%3Ddateline

Task 4 大概意思如下,题本身非常水,但阅读理解实在烦人。
. In a binary tree, if in the path from root to the node A, there is no node with greater value than A’s,
this node A is visible. We need to count the number of visible nodes in a binary tree. For example, in the following tree:

          5
     /       \
   3         10
  / \       /
20   21  1
There are four (4) visible nodes: 5, 20, 21, and 10.

最后写了解题思路和时间和空间复杂度。

评分

参与人数 1大米 +1 收起 理由
西瓜叫夏天 + 1 赞一个

查看全部评分


上一篇:【求职建议】想问问大家New Grad没有什么拿得出手的实习是怎么找到第一份工作的
下一篇:take-home project的时间限制
地里匿名用户
推荐
匿名用户-YFGH5  2021-3-13 13:55:06
fish1994 发表于 2021-3-13 10:40. ----
求问下楼主下面两道选择题的答案,感谢分享!!已加米~
1. You are given integers and your task is to ...

1, B
On an array of 5 distinct numbers, what is the minimum number of comparisons needed to find the largest and the smallest number? Why? Explain.
4 comparisions are needed for largest.
4 comparisions are needed for smallest.
Give a variable first element. Then compare it with next 4 numbers to know either the largest or the smallest number.

array = [1, 2, 3, 4, 5]
min = first element in array = 1
loop through second element through last [2, 3, 4, 5].
if min > element
. Waral dи,min = element
array = [1, 2, 3, 4, 5]
max = first element in array = 1
loop through second element through last [2, 3, 4, 5]
if max < element
max = element

3.选B 判断个位数不是1就是0
回复

使用道具 举报

推荐
fish1994 2021-3-13 10:40:43 | 只看该作者
全局:

求问下楼主下面两道选择题的答案,感谢分享!!已加米~.
1. You are given integers and your task is to find the smallest of them. What is the minimum number of comparisons that you have to make?. From 1point 3acres bbs
a. 3
b. 4
c. 5
d. 6

3. How do you check whether a number is odd in most programming languages?
a. if (x)
b. if (x & 10
c. if ( x % 2 == 0)
d. if (x >> 1 == 0)
回复

使用道具 举报

推荐
andysli6590 2021-3-13 13:56:28 | 只看该作者
全局:
fish1994 发表于 2021-3-13 10:40
求问下楼主下面两道选择题的答案,感谢分享!!已加米~
1. You are given integers and your task is to ...

看这个帖子 下面有所有答案的讨论

https://www.1point3acres.com/bbs ... 6orderby%3Ddateline

评分

参与人数 1大米 +1 收起 理由
fish1994 + 1 给你点个赞!

查看全部评分

回复

使用道具 举报

全局:
请问楼主是回复了一个什么HR Screen邮件后没多久就收到OA了吗?
回复

使用道具 举报

地里匿名用户
🔗
匿名用户-YFGH5  2021-3-11 15:39:58
吃撑的烤串儿 发表于 2021-3-11 15:14
请问楼主是回复了一个什么HR Screen邮件后没多久就收到OA了吗?

我上周4跟HR聊的,他要马上给我发OA,因为我周末要准备周一的meeting,我就让他这周二给我发了。
回复

使用道具 举报

🔗
yzhan145 2021-3-11 15:52:33 | 只看该作者
全局:
楼主60分钟的时间够吗??
回复

使用道具 举报

🔗
jeff070496 2021-3-11 16:16:36 | 只看该作者
全局:
请问楼主hiring event在哪里看的消息?谷歌和领英简单搜了下没有找到相关信息。。。感谢指路
回复

使用道具 举报

地里匿名用户
🔗
匿名用户-YFGH5  2021-3-11 16:53:32
yzhan145 发表于 2021-3-11 15:52
楼主60分钟的时间够吗??
. 1point 3 acres
60分钟够用了
回复

使用道具 举报

地里匿名用户
🔗
匿名用户-YFGH5  2021-3-11 16:54:36
jeff070496 发表于 2021-3-11 16:16. 1point3acres.com
请问楼主hiring event在哪里看的消息?谷歌和领英简单搜了下没有找到相关信息。。。感谢指路

地里有内推
回复

使用道具 举报

地里匿名用户
🔗
匿名用户-YFGH5  2021-3-12 11:56:24
今天下午HR说:Interview scheduling
回复

使用道具 举报

🔗
fish1994 2021-3-13 10:41:36 | 只看该作者
全局:
刚发现系统不允许给匿名用户加米。。。不好意思啊楼主。。。
回复

使用道具 举报

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

本版积分规则

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