回复: 7
跳转到指定楼层
上一主题 下一主题
收起左侧

IMC OA + 录视频

   
全局:

2023(7-9月) 码农类General 硕士 全职@imc - 网上海投 - HR筛选 在线笔试 视频面试  | 😃 Positive 🙂 Easy | Pass | 应届毕业生

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

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

x
OA:
第一题简单的回溯
两个顶点最短路径,唯一需要注意的点就是检查当前位置是否是 perfect square

第二题十字路口堵车,求每辆车的通过时间
题目有三个具体要求,按题意疯狂if else就行

我用的是queue来分别存两个路车到达的时间,然后逐个pop
一个var 来存整体的timer
一个var 来记录前一辆通过的车来自那个路
!!!!注意在路口没有车的时候update 当前的timer,否则会超时
!!!!注意更新前一辆车通过的路

Video Interview:
BQ:
1.how would your friends describe you(45 s)


My friend would describe me as the one who seems to know everyone in the world. I don’t feel shy or embarrassed talking to strangers instead I can start the conversation pretty quickly. One time when me and my friends were at a party and we need some garlic and onions to cook which we forgot to buy, there isn’t enough time to buy and they are afraid talk to their neighbor, I took charge and friendly asked the neighbor if we can borrow something. It turns out our neighbor is very kind and I even invited him to our party. This is how I met one of my b
您好!
本帖隐藏的内容需要积分高于 188 才可浏览
您当前积分为 0。
使用VIP即刻解锁阅读权限或查看其他获取积分的方式
游客,您好!
本帖隐藏的内容需要积分高于 188 才可浏览
您当前积分为 0。
VIP即刻解锁阅读权限 或 查看其他获取积分的方式
Unlock interview details and practice with AI
Curated Interview Questions from Top Companies
es not require multi thread, the cost of creating a new thread and switching between each thread is higher than just processing the program in a single thread, and also when there exist a dead lock in multithread, single thread will be faster.

3:An O(1) algorithm can not be faster (45s)
It is possible if we can decrease the constant significantly, or when input is very small and O(log(n)) could outperform O(1)
But if we assume the input is large and keep increasing, O(1) is the fastest.


整理不易,求各位老爷赏点米如果对你有帮助的话,谢谢老板们!

评分

参与人数 37大米 +55 收起 理由
ccccccyah + 1 赞一个
无名之徒 + 1 给你点个赞!
神奇大雷啦啦啦 + 1 赞一个!
owenyjx + 1 很有用的信息!
Leecloudmiddle + 1 给你点个赞!

查看全部评分


上一篇:亚麻ng 2轮vo 时间线
下一篇:Amazon 23 summer intern OA
🔗
rocketcarrot 2022-8-26 15:47:18 | 只看该作者
全局:
请问有后续了吗
回复

使用道具 举报

地里匿名用户
🔗
匿名用户-TZO2W  2022-9-1 03:41:36
请问有后续了吗
回复

使用道具 举报

🔗
hhjimhhj 2022-9-1 06:49:23 | 只看该作者
全局:
请问后序有了吗
回复

使用道具 举报

🔗
 楼主| LeonWang 2022-9-2 03:14:42 | 只看该作者
全局:
前天收到了拒信:(
回复

使用道具 举报

全局:
我想问一下,就是比如一辆车在第一秒到达,前面没有车,那么他的通过时间是算2,还是算1?
回复

使用道具 举报

🔗
 楼主| LeonWang 2022-9-2 09:07:36 | 只看该作者
全局:
anoymous_user 发表于 2022-9-1 20:08
我想问一下,就是比如一辆车在第一秒到达,前面没有车,那么他的通过时间是算2,还是算1?

具体题目要求我记不清了,应该是算1

评分

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

查看全部评分

回复

使用道具 举报

🔗
cysrunrunrun 2022-9-15 13:25:37 | 只看该作者
全局:
sorting是不能在o(n)完成的话说... 估计是这个答错的原因?
回复

使用道具 举报

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

本版积分规则

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