由买买提看人间百态

topics

全部话题 - 话题: complexes
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
r****o
发帖数: 1950
1
【 以下文字转载自 InterviewHackers 俱乐部 】
发信人: roufoo (五经勤向窗前读), 信区: InterviewHackers
标 题: The time complexity on finding the kth largest element in a
发信站: BBS 未名空间站 (Tue Jun 1 22:42:09 2010, 美东)
We can use the partition() in qsort. Each time, we can partition the array
into two parts, array_a and array_b. Let the number of elements in array_a
and array_b be sa and sb, respectively.
If sa is smaller than k, then find the (k-sa)th largest element in array_b;
If sa is larger than or equal to k, then find
h*****g
发帖数: 944
2
set和hashset的complexity分别是多少?
r*******y
发帖数: 1081
3
this is average complexity
d****o
发帖数: 1055
4
来自主题: JobHunting版 - Time complexity
下面找lowestCommonAncestor的代码如果tree balance的话time complexity是多少?
自己想的不保险,请教一下。
我觉得是O(nlogn)
bool contain(node* root, node* cur)
{
if(root)
{
if(root==cur) return true;
return contain(root->left,cur)||contain(root->right,cur);
}
return false;
}
node* lowest(node* root, node* n1, node* n2)
{
if(root==n1||root==n2) return root;
if(root==NULL) return NULL;
bool isLeft1 = false;
bool isLeft2 = false;
if(root->left)
{
isLeft1 = contain(root->left,n1); ... 阅读全帖
c********r
发帖数: 286
5
来自主题: JobHunting版 - Recursion Big-O complexity little cheatsheet
希望对Recursion Big-O complexity 分析有些疑惑的童鞋有些帮助
Recurrence Algorithm Big-O Solution
T(n) = T(n/2) + O(1) Binary Search O(log n)
T(n) = T(n-1) + O(1) Sequential Search O(n)
T(n) = 2 T(n/2) + O(1) tree traversal O(n)
T(n) = T(n-1) + O(n) Selection Sort (other n2 sorts) O(n^2)
T(n) = 2 T(n/2) + O(n) Mergesort (average case Quicksort) O(nlog n)
x****7
发帖数: 86
6
来自主题: JobHunting版 - Sqrt(X) 的time complexity 是多少呢
eg. find square root of 622
take a guess x = 10, take an error = 0.01
while( abs(x*x - num >= error) )
x = x - (x*x - num)/(2*x)
complexity 不知道怎么算了,还给老师了。。
w**x
发帖数: 362
7
传统的 SIEVE OF ERATOSHENES
Time complexity 怎么分析? wiki 是 nloglog(n)
p*****e
发帖数: 537
8
来自主题: JobHunting版 - 问个算time complexity的问题
两个recursive的function,主要的关系是:
f(x) = f(x-1) + g(x)
g(x) = f(x-1) + g(x/2)
边界条件大概就是f(1) = a, g(0) = b什么的,不过也不重要.
最后要求f(x)的time complexity。
这个题怎么做啊?
t**r
发帖数: 3428
9
leetcode里, backtracking的time complexity怎么算,比如permutations这题目
class Solution {
public:

void perm(vector num,int k,int n, vector > &res){
if (k==n){
res.push_back(num);
}else{
for (int i=k;i<=n;i++){
int tmp = num[k];
num[k]=num[i];
num[i]=tmp;

perm(num,k+1,n,res);

tmp = num[k];
num[k]=num[i];
... 阅读全帖
t*******y
发帖数: 22
10
last character will be accessed n times; last second character will be
accessed n-1 times. the complexity is n+(n-1)+(n-2)+...1=O(n^2)
since you isPalindrome takes O(n), total will be O(n^3).
if you calculate isPlaindrome first, it takes O(n^2); in your recursive
function, it will take O(1) to call that function. overall complexiy will be
O(n^2).
c***5
发帖数: 158
11
来自主题: JobHunting版 - 算法COMPLEXITY
请问你们从哪学分析算法SPACE AND TIME COMPLEXITY?
n**a
发帖数: 41
12
Company: Mitsubishi Electric Research Labs
Location: 201 Broadway, Cambridge, MA 02139
Start Date: September 1, 2009
Duration: 4 months
Project title: Low complexity space-time adaptive signal processing
Project Description: Space-time adaptive processing (STAP) refers to
processing signals received on multiple elements of an antenna array and
from multiple transmitted pulses separated by a repetition interval. STAP
improves low velocity target detection by offering robust and strong clutter
re
L******k
发帖数: 5
13
Our offer was just accepted. And we found out that the complex was involved
in a lawsuit. The lawsuit itself does not seem to be a big deal. But I can
not find a lender to borrow some money...ft...Help~~~
L******k
发帖数: 5
14
哦, 我还以为每个complex都会多多少少有些lawsuit呢。这不就是那个什么HOA里面
reserve fund用来做的吗??
还有好像是现在银行都基本不会借钱给我们买有lawsuit的房子了。
FYI,我要买的是一个condo,那个lawsuit是有一个从来没有住在那里的人告HOA什么
damage. 2004年的事了。
z******r
发帖数: 1245
15
LD回国体检发现缺铁性贫血,医生给开了Polysaccharide-Iron Complex。回到美国没
发现几个网站在卖。现在有点担心是不是这个药不是很好,或者很少用?看了看其他的
supplementation,铁的含量又很低。想咨询下有没有合适的替代品?
谢谢
a*****1
发帖数: 1439
16
小侄儿初二了,想吃些健脑的,不知道能不能吃GNC trip strength omega complex,或
者puritan's pride natural omega-3? 或者有什么推荐的给teens补脑的吗?
H******9
发帖数: 1180
17
来自主题: PennySaver版 - 怎么买到便宜的vitamin B complex?
各位大虾,听我姑姑说现在国内流行吃vitamin B complex, 让爸妈回去带一箱,一箱
有多少个?怎么卖可以便宜?谢谢
i****h
发帖数: 3161
18
Estée Lauder Advanced Night Repair Synchronized Recovery Complex II Eye
s****y
发帖数: 44
19
二手交易风险自负!请自行验证是否合法和一手卡!:
我想卖的物品:
EL Advanced Night Repair Eye Recovery Complex套装(2瓶装)
2月25日前在美国,之后在国内
单张面值:
可接受价格(必须明码标价!):
490RMB,或者 75刀
物品新旧要求:
new
邮寄方式要求:
买卖双方谁承担邮寄损失(Required if not code only):
paypal or 支付宝
其他补充说明:
广告的有效期:
物品来源(Required for All Cards!):
我的联系方式:
mitbbs
Warranty期限:
till gone
能否证明是合法的一手卡?(Required for All Cards!):
state and zip:
l*********o
发帖数: 88
20
我的基本情况:
1. PhD in Applied Mathematics, 2009
2. First author on 8 papers.
3. Reviewer for Chinese Physics B and PLoS Neglected Tropical Diseases
求如下领域的审稿机会:
statistical physics,complex network, epidemic dynamics,game-theoretic
modeling, etc.
多谢。
email: j*********[email protected]
l*********o
发帖数: 88
21
我的基本情况:
1. PhD in Applied Mathematics, 2009
2. First author on 8 papers.
3. Reviewer for Chinese Physics B and PLoS Neglected Tropical Diseases
求如下领域的审稿机会:
statistical physics,complex network, epidemic dynamics,game-theoretic
modeling, etc.
多谢。
email: j*********[email protected]
z***n
发帖数: 36
22
如题.
活动时间:晚上和周末
地点: Lowry Sport Complex Park, 在Aurora comunity college 边上.
有兴趣爱好的兄弟姐妹吱个声,一起煅炼身体.
P****9
发帖数: 2294
23
来自主题: Connecticut版 - Lake Placid之Olympic Jumping Complex
Olympic Jumping Complex是冬奥会高台滑雪比赛的地方,这个地方出乎我的意料,是
在高山环绕中的一座小山,后来想了想也有道理,可以避免风的影响。但是它的高度也
是很高的。最高的真正比赛用的平台有120米高。旁边那个矮一点的是夏季用来训练的
地方。
b*******y
发帖数: 1240
24
u mean just dst 62 or all the apt complex in Gville?
g****t
发帖数: 39
25
来自主题: Kansas版 - 请推荐condo/duplex/townhouse complex
将要搬到UMKC, 准备下个星期到Kanasas City 找房子(从网上信息看plaza area or
overland park 比较popular,不只道有没有其他好的地方)。 请推荐安全的 3
bedroom 的 condo/duplex/townhouse complex 带有游泳池的,最好屋里有洗衣机和烘
干机的。我有一个3岁的女儿,如果有中国人多的地方最好了,能给她找个玩伴。当然
安全最重要。多谢了。
y******a
发帖数: 71
26
希望找个neighborhood好点,安全,环境好一点的warehouse加办公室,地点就是大洛
杉矶附近,如果靠近西边一点就更好了,z仓库面积大概2000-3000尺左右,有个独立办
公室,大家有没有这种complex推荐?
g********l
发帖数: 242
27
寻找费城到Princeton之间好的Appartment Complex,如果有从11月1号开始的短期
sublet最好,谢谢
h******h
发帖数: 655
28
3 bedroom/2.5 bath 2-car attached garage home in triana complex.
Quiet location.
1,335 sqf
Walking distance to award winning Dingeman elementary school.
All appliances included. Stainless steel range and refrigerator, fireplace,
neutral carpet upstairs, and ceramic tile flooring in all baths. Master math
has granite counter top. Cellular window treatment downstaires. Private
backyard.
Convenient location. Close to park, schools, shopping, restuarants & freeway
.
Pets allowed.
Available date: Sep
I**********l
发帖数: 1350
29
来自主题: SanDiego版 - 求推荐mira mesa的complex,有包子
What's your budget? Allure at Scripps Ranch is a very nice complex, but
pricey.
r******g
发帖数: 58
30
来自主题: SanFrancisco版 - 有推荐Fremont附近的apartment complex
6月底要去湾区工作,现在开始找房子,也不知道晚不晚。
有朋友推荐Fremont附近的apartment complex吗?或者合租?
谢谢。
F**********t
发帖数: 80
31
一辆完全不认识的车停在我complex底下的车位里。现在我把它堵上了,打了公寓给的
电话说,不是management office不能拖。然而破公寓又没有人。请问湾区哪里有at
owner's expense的拖车公司?多谢了!
d****i
发帖数: 360
32
memphis哪里适合family住,
Which apartment complex in Memphis has no mold problem in the rooms? thanks!
d****i
发帖数: 360
33
You might not see mold, but in many cases you can just smell it. I have
found a lot of apartment complexes have mold issue in memphis area.
Especially for those not very old apartments.
q*c
发帖数: 17993
34
【 以下文字转载自 Ski 讨论区 】
发信人: qmc (qmc), 信区: Ski
标 题: 我有两张sports complex 的public skatking的滑冰票 ﹣ 免费, 谁要
发信站: BBS 未名空间站 (Fri Sep 24 14:23:56 2010, 美东)
rt
d*********e
发帖数: 876
35
正在找房子中,网上的选择太多不知道怎么挑了。请推荐一些Rockville和
Gaithersburg之间性价比比较高的apartment complex,希望周围安全且环境好,如有
方便的公共交通则更佳。谢谢!
d*********e
发帖数: 876
36
多谢!查了一下这两个地方,好像租金有些高,不知道附近的Halpine View怎么样?有
知道的能给评价一下吗?
Rockville Station 附近有什么好的apartment complex吗?
再次感谢大家帮助!
q*c
发帖数: 17993
37
Yes, this is for onetime admission. Deal!
I skate at sports complex ice rink on Tuesday. They have a public
skating session from 7pm to 9pm. In case you do not go on Tuesday,
I'll give you the ticket when we meet next time, and you can go on
weekends.
d******g
发帖数: 5484
38
来自主题: TVGame版 - shadow complex真不错阿
你说的是shadow complex吗?网上有吧,去game marketplace,按字母查查看?我前两
天才买的。
h***9
发帖数: 8948
39
来自主题: TVGame版 - shadow complex通关
以前好像有个bug的,直接玩demo可以通关,但是很累,不能存档
你也可以等pc版,不知道会不会出
http://forums.chairentertainment.com/showthread.php?
t=351&highlight=Shadow+Complex&page=5
v*****r
发帖数: 2325
40
来自主题: Weightlifting版 - intro to lifting complex
http://www.bodybuilding.com/fun/alwyn9.htm
mainly train endurance, not max strenght or explosiveness (takes years to
develop)...
6-15reps a movement, 2sec a rep, several movement a circuit.
no rest between movements within one circuit.
90 sec rests between circuits...
serveral circuits makes a complex
h****8
发帖数: 599
41
It's impossible not to notice trends in the fitness world. The majority of
these—like the ridiculous Ab Lounge—last for a year or so and then are
either forgotten or shoved underneath the bed next to the dust balls and
discarded dirty underwear.
But some trends are actually beneficial and become staples in the training
programs of thousands of lifters.
Take weight-training circuits (also called "complexes") for fat-loss. When
programmed properly, they have the potential to strip off fat faster t
f*******n
发帖数: 5241
42
我觉得这篇文章说得有一定道理。只是这样的话,这个complex一定很
变态,重量比较重,还不让组间休息。

become
h****8
发帖数: 599
43
我觉得complex都是变态的。。。
它这里说取50~60%1RM,我觉得还好
y*******d
发帖数: 1674
44
Estee Lauder Advanced Night Repair Eye Recovery Complex .5OZ 2个
官网上
全新的,本来打算买了回国送人,但是现在有点小变化。于是打算转手。
$40each
paypal non-cc交易,选personal- gift/owed to 避免手续费
邮费自付(我尽量找最便宜方式),强制dc。
有问题pm我。谢谢啦
E***3
发帖数: 268
45
求Estee Lauder Advanced Night Repair Eye Recovery Complex. Full Sz. 0.5 Oz。
谢谢。
x*******8
发帖数: 3331
46
我想卖的物品:
Estee Lauder Advanced Night Repair Eye Synchronized Complex
付款方式:
non-cc paypal, boa
邮寄方式和邮费:
$39 each, 美国国内包邮
usps first class mail for 1-2
usps priority mail for qty >2
买卖双方谁承担邮寄损失:
其它补充说明:
批号是:13年5月份
我的联系方式:
站内。
p****g
发帖数: 143
47
请教各位MM,
这款明星产品怎么在官网没发现呢……
CERAMIDE Ceramide Eyes Time Complex Capsules .35 fl. oz. 60 caps
大家都是在哪里买的呢?谢谢了~~
((自己太笨了……唉……))
h*********t
发帖数: 1776
48
今天逛ULTA,看见这个cellec-c的High Potency Serum和Hydra 5 B-Complex套装原价
100, 打折到29.99, 收了, 不晓得好用不, 话说我是混干皮。
看网上的介绍这个High Potency Serum是10%浓度的c, 是不是很刺激皮肤。
有经验的MM们能说说吗? 不好就去退了。
d*******s
发帖数: 695
49
请问Estee Lauder Advanced Night Repair Eye Synchronized Complex 是不是液体,
可以USPS寄么?一瓶这样的大概是多重啊?
http://www1.macys.com/shop/product/estee-lauder-advanced-night-
谢谢!!!
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)