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

[找工就业] cubist da oa面经

全局:

2020(1-3月)-MFE/Fin/FinMath硕士+短暂实习或全职不超过3个月 | 网上海投|大纽约地区 分析|数据科学类全职@cubist

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

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

x
一共两题 hackerrank平台1. 俩linked lists, 以及俩int a and b, merge the two lists by removing the ath through bth nodes in list 1 and inserting list2 in their place. 即:
list1_init=list1_1->...->list1_a->...->list1_b->...->list1_n
list2=list2_1->...->list2_2->...->list2_m
list1_merged=list1_1->...->list1_{a-1}->list2_1->...->list2_m->list1_{b+1}->...->list1_n
2.metro land festival.1point3acres
metro land is a country located on a 2D plane. They are having a summer festival for everyone in the country and would like to minimize the overall cost of travel for their citizens. Costs of travel are calculated as follows:

`A city is located at coordinates (x,y)
`The festival is located at coordinates (a,b). 1point 3 acres
`Cost of travel from a city to the festival = |x-a|+|y-b| per person. 1point 3acres

The festival can be held at any location in Metro Land. Find the optimal location for the festival, defined as the location with the minimal total travel cost assuming all people attend. Determine the total cost of travel for all citizens to go to the festival at that location.
. From 1point 3acres bbs
祝大家笔试面试顺利啦~再求个米 谢谢~

评分

参与人数 2大米 +4 收起 理由
amazing1992 + 1 赞一个
HHHHarold + 3 给你点个赞!

查看全部评分


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

本版积分规则

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