Redian新闻
>
当年奥本是如何被忽悠在新财年开始时就按每个季度分配SO的?
avatar
当年奥本是如何被忽悠在新财年开始时就按每个季度分配SO的?# EB23 - 劳工卡
r*g
1
I saw this on careerup, not sure how to solve them. Thank you.
1, realize malloc() in C
What is key data structure here? What is the key point?
2 If [a1,a2,a3...,an,b1,b2...bn] is given input change this to [a1,b1,a2,b2.
....an,bn] , solution should be in-place
Anyone knows what is the most efficient solution? It is best if there is a
link provided.
3, Given an array of +ve and -ve integers, re-arrange it so that u have +ves
on one end and -ves on other,BUT RETAIN ORDER OF APPEARANCE..
for eg,
1,7,-5,9,-12,15
ans=
-5,-12,1,7,9,15
do it in O(n) without using any extra space.
I doubt it can be realized without extra space. Is there a solution using
constant space?
Surely linked list is a solution, what else can we get?
Thanks.
avatar
l*c
2
老赫,能故伎重演吗?
如果是每个月都按部就班这样1.5个月的前进,还不如让奥本这斯每个季度的第一个月
就把步子迈大点,提前用完当个季度的名额。这样不违规,同时能让每个季度后两个月
的人提前current。另一方面也能降低在年底的时候吃不全咱们固定的名额的风险。
avatar
c*t
3
第三题前一段时间这里讨论过:好像只有O(nlogn)的方法。O(n)的不知道怎么弄?

b2.
ves

【在 r*******g 的大作中提到】
: I saw this on careerup, not sure how to solve them. Thank you.
: 1, realize malloc() in C
: What is key data structure here? What is the key point?
: 2 If [a1,a2,a3...,an,b1,b2...bn] is given input change this to [a1,b1,a2,b2.
: ....an,bn] , solution should be in-place
: Anyone knows what is the most efficient solution? It is best if there is a
: link provided.
: 3, Given an array of +ve and -ve integers, re-arrange it so that u have +ves
: on one end and -ves on other,BUT RETAIN ORDER OF APPEARANCE..
: for eg,

avatar
b*g
4
和奥本沟通很费力的。就为了提前两个月就去使劲搞这么个东西,没多少意义吧?
搞一次还不如搞点更实在的东西。比如多分点SO。早60天很有意义吗?

【在 l*******c 的大作中提到】
: 老赫,能故伎重演吗?
: 如果是每个月都按部就班这样1.5个月的前进,还不如让奥本这斯每个季度的第一个月
: 就把步子迈大点,提前用完当个季度的名额。这样不违规,同时能让每个季度后两个月
: 的人提前current。另一方面也能降低在年底的时候吃不全咱们固定的名额的风险。

avatar
c*t
5
http://www.mitbbs.com/article_t/JobHunting/31935043.html
的六楼,好像是回答了你的第二个问题。
可是我没有完全明白他的答案的意思。仅供参考。

b2.
ves

【在 r*******g 的大作中提到】
: I saw this on careerup, not sure how to solve them. Thank you.
: 1, realize malloc() in C
: What is key data structure here? What is the key point?
: 2 If [a1,a2,a3...,an,b1,b2...bn] is given input change this to [a1,b1,a2,b2.
: ....an,bn] , solution should be in-place
: Anyone knows what is the most efficient solution? It is best if there is a
: link provided.
: 3, Given an array of +ve and -ve integers, re-arrange it so that u have +ves
: on one end and -ves on other,BUT RETAIN ORDER OF APPEARANCE..
: for eg,

avatar
l*c
6
恩,当然有意义。
假设EB2C每个月有200个人在排队,提前2个月绿了,就是400个人。
在没有违反任何规定的情况下,能让这些人提前2个月绿了,难道不好么?
能早一天绿,就能让这部分人早一天放心,不用担心因为工作不稳定而身份还没解决的
问题。
更进一步说,打个比方,如果能像信用卡一样,提前透支一部分名额,则更好了。就像
24年前,这些人早点绿了,入籍了,又能把父母都搬过来。华人才会越来越多。

【在 b******g 的大作中提到】
: 和奥本沟通很费力的。就为了提前两个月就去使劲搞这么个东西,没多少意义吧?
: 搞一次还不如搞点更实在的东西。比如多分点SO。早60天很有意义吗?

avatar
r*g
7
co没看明白,不过第三题好像也不是o(n)

【在 c*********t 的大作中提到】
: http://www.mitbbs.com/article_t/JobHunting/31935043.html
: 的六楼,好像是回答了你的第二个问题。
: 可是我没有完全明白他的答案的意思。仅供参考。
:
: b2.
: ves

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。