Redian新闻
>
求推荐个refinance的公司,大纽约地区
avatar
求推荐个refinance的公司,大纽约地区# Living
i*e
1
If you have numbers in a 10,000 item array that range from 1 to 1 million,
and there is one duplicate. How do you find the duplicate with the simplest
algorithm?
这题除了用hashtable和bitmap以外还有更好的方法吗? 谢谢
avatar
qd
2
想找个靠谱的agent,不知道是不是需要是local的,loan是在NY。。谢谢筒子们!!
另外想问下,原来30年的4.625%,是不是现在refinance怎么说都是合算的啊?付了小2
年了。。
avatar
C*U
3
排序算法呗。空间省了,时间多了。

simplest

【在 i******e 的大作中提到】
: If you have numbers in a 10,000 item array that range from 1 to 1 million,
: and there is one duplicate. How do you find the duplicate with the simplest
: algorithm?
: 这题除了用hashtable和bitmap以外还有更好的方法吗? 谢谢

avatar
i*e
4
bucket sort? 数组元素分布范围很大呀 1 ~ 1M.

【在 C***U 的大作中提到】
: 排序算法呗。空间省了,时间多了。
:
: simplest

avatar
K*m
5
基数排序

【在 i******e 的大作中提到】
: bucket sort? 数组元素分布范围很大呀 1 ~ 1M.
avatar
C*U
6
bucket sort还不如用bitmap.两个思想一样的。用的空间更多。

【在 i******e 的大作中提到】
: bucket sort? 数组元素分布范围很大呀 1 ~ 1M.
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。