Redian新闻
>
给这里的女ID们提个醒,化妆品大deal
avatar
给这里的女ID们提个醒,化妆品大deal# Fashion - 美丽时尚
l*y
1
有点晚, 3月的。 当时是个event,所以只面4轮,其中一轮behavioral,两轮程序一轮
设计。
--------------------------------------
Coding
1. Support undo and redo on a picture.
-- Two stacks, one for each
2. Now each command has a cost and we need peekMax() to get the most
expensive command so that we can potentially save the snapshop (of pic) and
store it to server for that command. How do you support the peekMax() method?
-- Suggested a heaping Heap and the stack are just pointers. O(lgn)
-- Hinted to get O(1) with an example
-- Solution is to get two Stacks for undo (same for redo). The max cost
stack holds only non-duplicated commands with current max cost.
E.g. (left is the first stack and right is the second (view it vertically)
D
C C
B
A A
--------------------------------------
Design
1. System that test furniture stress score.
Furniture interface has applyWeights, applyTest, getColor and isStable
methods.
You may have WoodenChair, SteelChair, WoodenTable, SteelTable and etc
classes.
Key: Composition.
After interview I realized it can be solved with Bridge pattern but I only
mentioned the name but failed to elaborate.
2. Flight Controller for airport and nearby airspace.
No method provided. Need to work it out together with interviewer.
Figured out:
--Land, takeoff and fly-through requests may be made by planes.
Discussed about components needed and what attributes they have:
--Controller, Runway/track, scheduler.
Discussed how components work together
-- E.g. Runway should have collections. Timing and location to make fly-
through requests more efficient. Requests should be made ahead of time to
allow scheduling to happen. Request replies should be valid for only a
period of time. Replies for fly-through should include more information such
as area and height.
-- Take away:
Examined: communication, how you analyze problems. I don't think I made any
remarkable comments at all, just follow the natural thinking and
conversation.
Not quite sure if it is satisfactory about seems smooth.
--------------------------------------
Algorithm and Coding
1. Car on race-track that has 25000 sound sources but for each position only
up to 32 sounds can be played. Each sound source has its range and you can
calculate distance easily given a position. Sound source may also have
priority to help decide which to play.
-- O(lgn) using minHeap and loop through.
-- Discussed heap in detail
-- Suggested that we can partition track into areas with applicable points
so that we don’t need to go through all 25000 each time.
-- Coding and complexity analysis
2. How to improve performance given that a smaller move will not cause too
many changes of the applied sound sources? How to modify the 32 sources?
Asked to modify priority based on distance.
-- Suggested to normalize priority to get max. For any point within range
add max priority; subtract if it becomes out of range.
-- Suggested that we can further partition within each area (hashing) to
narrow down the lists of sound sources for each position so that when moving
from one position to the other the diff list is smaller and faster to
achieve.
-- Actually it can be improved to record only different set between
different positions and the total storage would be about 25000 only.
Conclusion: for gaming it is very important to save cpu cycles as they are
most critical and use memory as tradeoff.
-------------------------------------
Behavioral Omitted
------------------------------------
背景: MS 毕业6年经验得到包但是不高,出于某些特殊原因没有争就接受了 ,base
109K 总包不到130K。SDE2.
avatar
s*x
2
12-13 Filed with PP
12-21 Clock stopped
12-26 I140 approved
Background: US PhD'10 in CS. 12 publication, 150+ citation, 5 independent
reference, 5 patents (3 published and released in commercial products). 9
paper reviews and 3 award/grant reviews. Petition prepared by employer
appointed lawyer.
Wish everyone good luck and happy new year!
avatar
I*s
3
准备卖房了。
avatar
t*0
4
现在mastercard有个活动,http://marketplace.mastercard.com/overwhelmingoffer
只要有mastercard就可以参加,具体细节可以自己注册去看,或者去shopping,ebiz版
看,从holiday开始以来,已经出过几次关于macys的deal了,有80 off 100, 100 off
200,可以用来买化妆品,而且一般化妆品都没有运费,我觉得比什么bg 25 off 100还
要好,当然只能买macys卖的牌子了,像lamer什么的就不要指望了。
avatar
m*y
5
apple 还是amazon?
avatar
T*M
6
cong
avatar
p*p
7
铺上电热毯,房事一定暖
avatar
t*0
8
像有人要买EL,lancome什么的,很划算,如果自己点不到的话,叫老公去点,然后你去
花钱就行了,呵呵
avatar
l*y
9
Amzn
avatar
d*n
10
恭喜
avatar
I*s
11
如果放电热毯就能暖房事,我愿意买100条回来, 哈哈。
avatar
k*1
12
谢谢这位热心某斑竹
不过应该这里很多mm都知道吧...
就是太难抢= =
avatar
p*2
13
我以为bnb呢

【在 l*y 的大作中提到】
: Amzn
avatar
G*n
14
Big cong!!!
avatar
m*f
15
看来楼主对房事的现状极度不满,对火热的房事强烈期待!!!
avatar
t*0
16
没看到这个版讨论过,所以就给大家提个醒,网速快,手快的,一般macys不难点,都
是1,2千的名额

【在 k******1 的大作中提到】
: 谢谢这位热心某斑竹
: 不过应该这里很多mm都知道吧...
: 就是太难抢= =

avatar
j*3
17
mk
avatar
c*n
18
cong
avatar
k*1
19
lg只会无视你。。。
上次J&R 250off500 他自己都想买相机的,结果还是无视之。。。
而我忙得根本没时间抢
再说9秒就gone了,抢毛= =

【在 t**0 的大作中提到】
: 像有人要买EL,lancome什么的,很划算,如果自己点不到的话,叫老公去点,然后你去
: 花钱就行了,呵呵

avatar
z*e
20
composite感觉不太对
composite是一个node
互相之间可以不停地组合上去
是一个典型的tree结构
桌子这个不太可能说是桌子下面还有一个子桌子
一般composite比较典型的是一个组织
军官都是composite,军官可以隶属于军官,不停地叠加
士兵都是leaf,士兵之下没有士兵了,这就是一个典型的tree结构
bridge make sense
不过真要说模式的话,builder就好了
avatar
t*a
21
恭喜!
avatar
t*0
22
呵呵,我反正已经点到过2个macys了,lp自己点到一个,想点的话,应该不难

【在 k******1 的大作中提到】
: lg只会无视你。。。
: 上次J&R 250off500 他自己都想买相机的,结果还是无视之。。。
: 而我忙得根本没时间抢
: 再说9秒就gone了,抢毛= =

avatar
l*y
23
If you use builder it is still composition. A furniture has a shape and has
material. You can delegate shape or material ops down.
avatar
a*n
24
cong!
avatar
f*n
25
抢这个需要很强大的心脏承受力
avatar
z*e
26
composite的本意是叠加,象tree一样一层一层往上
而不是组合,这个pattern很misleading从名字来说
非要说组合的话,那就是先凑成component
然后再由component凑component etc.
shape和material……
avatar
G*G
27
do you get the news just now?

【在 s*****x 的大作中提到】
: 12-13 Filed with PP
: 12-21 Clock stopped
: 12-26 I140 approved
: Background: US PhD'10 in CS. 12 publication, 150+ citation, 5 independent
: reference, 5 patents (3 published and released in commercial products). 9
: paper reviews and 3 award/grant reviews. Petition prepared by employer
: appointed lawyer.
: Wish everyone good luck and happy new year!

avatar
k*1
28
macys那个80off100的实在很赞
可惜那天没时间抢。。。

【在 t**0 的大作中提到】
: 呵呵,我反正已经点到过2个macys了,lp自己点到一个,想点的话,应该不难
avatar
f*n
29
mark
avatar
H*1
30
恭喜

【在 s*****x 的大作中提到】
: 12-13 Filed with PP
: 12-21 Clock stopped
: 12-26 I140 approved
: Background: US PhD'10 in CS. 12 publication, 150+ citation, 5 independent
: reference, 5 patents (3 published and released in commercial products). 9
: paper reviews and 3 award/grant reviews. Petition prepared by employer
: appointed lawyer.
: Wish everyone good luck and happy new year!

avatar
t*0
31
估计后面还会有,现在已经开始重复了,就那几个店,不过估计80% off不会再有了,
不过50%也不错啊

【在 k******1 的大作中提到】
: macys那个80off100的实在很赞
: 可惜那天没时间抢。。。

avatar
l*y
32
Yes, composite is misleading. I did not intend it to use it as pattern name.
Delegation or has-a relationship should be clearer.
Thx for pointing it out!
avatar
C*Y
33
cong!

【在 s*****x 的大作中提到】
: 12-13 Filed with PP
: 12-21 Clock stopped
: 12-26 I140 approved
: Background: US PhD'10 in CS. 12 publication, 150+ citation, 5 independent
: reference, 5 patents (3 published and released in commercial products). 9
: paper reviews and 3 award/grant reviews. Petition prepared by employer
: appointed lawyer.
: Wish everyone good luck and happy new year!

avatar
k*1
34
恩,主要最近花钱太多鸟
属于“再买砍断手”状态。。。lol

【在 t**0 的大作中提到】
: 估计后面还会有,现在已经开始重复了,就那几个店,不过估计80% off不会再有了,
: 不过50%也不错啊

avatar
v*l
35
mark
avatar
G*G
36
how to know clock stopped?

【在 s*****x 的大作中提到】
: 12-13 Filed with PP
: 12-21 Clock stopped
: 12-26 I140 approved
: Background: US PhD'10 in CS. 12 publication, 150+ citation, 5 independent
: reference, 5 patents (3 published and released in commercial products). 9
: paper reviews and 3 award/grant reviews. Petition prepared by employer
: appointed lawyer.
: Wish everyone good luck and happy new year!

avatar
t*0
37
呵呵,是啊,再好的deal也是要花钱的,不过如果你的确需要的话,还是不错的

【在 k******1 的大作中提到】
: 恩,主要最近花钱太多鸟
: 属于“再买砍断手”状态。。。lol

avatar
z*e
38
CONG!
avatar
i*e
39
从来没抢到过,只能用来买化妆品??

off

【在 t**0 的大作中提到】
: 现在mastercard有个活动,http://marketplace.mastercard.com/overwhelmingoffer
: 只要有mastercard就可以参加,具体细节可以自己注册去看,或者去shopping,ebiz版
: 看,从holiday开始以来,已经出过几次关于macys的deal了,有80 off 100, 100 off
: 200,可以用来买化妆品,而且一般化妆品都没有运费,我觉得比什么bg 25 off 100还
: 要好,当然只能买macys卖的牌子了,像lamer什么的就不要指望了。

avatar
t*0
41
除了gift card,基本都可以买,不过买化妆品最值,平时不打折,别的东西店里打折
比网上便宜,或者可以网上用code

【在 i******e 的大作中提到】
: 从来没抢到过,只能用来买化妆品??
:
: off

avatar
l*2
42
GXGX!
avatar
W*P
43
MARK 给老公看看
avatar
s*6
44
Congrats!!!
avatar
s*y
45
谢谢 MM 分享!不过,会不会有很多限制(fine print),这次的 MACY 可以买化妆品,
下次的 NM 什么的会不会就不让买化妆品了?如果不小心违规了,钱就拿不回来了呀。

【在 t**0 的大作中提到】
: 除了gift card,基本都可以买,不过买化妆品最值,平时不打折,别的东西店里打折
: 比网上便宜,或者可以网上用code

avatar
s*s
46
cong~~~~~~~~~

【在 s*****x 的大作中提到】
: 12-13 Filed with PP
: 12-21 Clock stopped
: 12-26 I140 approved
: Background: US PhD'10 in CS. 12 publication, 150+ citation, 5 independent
: reference, 5 patents (3 published and released in commercial products). 9
: paper reviews and 3 award/grant reviews. Petition prepared by employer
: appointed lawyer.
: Wish everyone good luck and happy new year!

avatar
k*1
47
它不是让你付钱买卡
是你先reserve,然后几天内你买足多少金额后,它返钱到你mastercard上,不过挺慢的
还有我不知道reserve了后不买会有什么后果,知道的达人来说说

【在 s*********y 的大作中提到】
: 谢谢 MM 分享!不过,会不会有很多限制(fine print),这次的 MACY 可以买化妆品,
: 下次的 NM 什么的会不会就不让买化妆品了?如果不小心违规了,钱就拿不回来了呀。

avatar
L*S
48
移民官不休息呀
avatar
t*0
49
可以买化妆品,没问题,btw,我不是mm,:)

【在 s*********y 的大作中提到】
: 谢谢 MM 分享!不过,会不会有很多限制(fine print),这次的 MACY 可以买化妆品,
: 下次的 NM 什么的会不会就不让买化妆品了?如果不小心违规了,钱就拿不回来了呀。

avatar
r*d
50
big cong!
avatar
t*0
51
holiday期间随便点,不买也没事

慢的

【在 k******1 的大作中提到】
: 它不是让你付钱买卡
: 是你先reserve,然后几天内你买足多少金额后,它返钱到你mastercard上,不过挺慢的
: 还有我不知道reserve了后不买会有什么后果,知道的达人来说说

avatar
G*G
52
really?

【在 L**S 的大作中提到】
: 移民官不休息呀
avatar
q*6
53
现在还可以点吗?
avatar
c*n
54
cong
avatar
t*0
55
今天没有,你可以去注册,每天上午给你发信提醒,下午开始点,今天的:
* 1 PM EST: $50 off $100 at Toys R Us
* 2 PM EST: $500 off $1000 at Sears on energy star washer & dryer
* 3 PM EST: $100 off $200 at Home Depot
* 4 PM EST: $50 off $100 at Crate & Barrel
* 5 PM EST: $50 off $100 at Target

【在 q******6 的大作中提到】
: 现在还可以点吗?
avatar
s*t
56
big big cong!!
avatar
f*l
57
我点了两个。 第一个用来给娃买衣服了。就是不让叠加promotion code.还得付运费。
第二个用来买了几把MAC的刷子。没运费。
avatar
m*t
58
Cong~ :)

【在 s*****x 的大作中提到】
: 12-13 Filed with PP
: 12-21 Clock stopped
: 12-26 I140 approved
: Background: US PhD'10 in CS. 12 publication, 150+ citation, 5 independent
: reference, 5 patents (3 published and released in commercial products). 9
: paper reviews and 3 award/grant reviews. Petition prepared by employer
: appointed lawyer.
: Wish everyone good luck and happy new year!

avatar
s*u
59
我没点到过,唉
avatar
g*1
60
cong

【在 s*****x 的大作中提到】
: 12-13 Filed with PP
: 12-21 Clock stopped
: 12-26 I140 approved
: Background: US PhD'10 in CS. 12 publication, 150+ citation, 5 independent
: reference, 5 patents (3 published and released in commercial products). 9
: paper reviews and 3 award/grant reviews. Petition prepared by employer
: appointed lawyer.
: Wish everyone good luck and happy new year!

avatar
t*0
61
呵呵,我现在一般全套动作7-8秒之间完成,所以只要不是那种只有200个那种,都能搞定,
good luck
avatar
z*b
62
cong

【在 s*****x 的大作中提到】
: 12-13 Filed with PP
: 12-21 Clock stopped
: 12-26 I140 approved
: Background: US PhD'10 in CS. 12 publication, 150+ citation, 5 independent
: reference, 5 patents (3 published and released in commercial products). 9
: paper reviews and 3 award/grant reviews. Petition prepared by employer
: appointed lawyer.
: Wish everyone good luck and happy new year!

avatar
D*R
63
哎,今天的Macy's我就没抢到
avatar
m*h
64
cong!

【在 s*****x 的大作中提到】
: 12-13 Filed with PP
: 12-21 Clock stopped
: 12-26 I140 approved
: Background: US PhD'10 in CS. 12 publication, 150+ citation, 5 independent
: reference, 5 patents (3 published and released in commercial products). 9
: paper reviews and 3 award/grant reviews. Petition prepared by employer
: appointed lawyer.
: Wish everyone good luck and happy new year!

avatar
t*0
65
呵呵,要不我提供代点服务吧,反正老婆也买的差不多了
avatar
o*e
66
cong!
avatar
n*m
67
所以还是买化妆品合适,shipping自动减。不过也有人说shipping code是可以加的,
也能出4个钩。

【在 f*******l 的大作中提到】
: 我点了两个。 第一个用来给娃买衣服了。就是不让叠加promotion code.还得付运费。
: 第二个用来买了几把MAC的刷子。没运费。

avatar
R*6
68
gxgx.
avatar
l*r
69
你太牛了!

【在 t**0 的大作中提到】
: 呵呵,要不我提供代点服务吧,反正老婆也买的差不多了
avatar
L*S
70
都忘记cong了!
avatar
V*A
71
Cong!
avatar
C*d
72
gxgx

【在 s*****x 的大作中提到】
: 12-13 Filed with PP
: 12-21 Clock stopped
: 12-26 I140 approved
: Background: US PhD'10 in CS. 12 publication, 150+ citation, 5 independent
: reference, 5 patents (3 published and released in commercial products). 9
: paper reviews and 3 award/grant reviews. Petition prepared by employer
: appointed lawyer.
: Wish everyone good luck and happy new year!

avatar
g*n
73
gongxigongxi
avatar
w*s
74
cong
avatar
a*8
75
gxgx
avatar
m*d
76
强人!祝贺

【在 s*****x 的大作中提到】
: 12-13 Filed with PP
: 12-21 Clock stopped
: 12-26 I140 approved
: Background: US PhD'10 in CS. 12 publication, 150+ citation, 5 independent
: reference, 5 patents (3 published and released in commercial products). 9
: paper reviews and 3 award/grant reviews. Petition prepared by employer
: appointed lawyer.
: Wish everyone good luck and happy new year!

avatar
y*6
77
Big cong.

【在 s*****x 的大作中提到】
: 12-13 Filed with PP
: 12-21 Clock stopped
: 12-26 I140 approved
: Background: US PhD'10 in CS. 12 publication, 150+ citation, 5 independent
: reference, 5 patents (3 published and released in commercial products). 9
: paper reviews and 3 award/grant reviews. Petition prepared by employer
: appointed lawyer.
: Wish everyone good luck and happy new year!

avatar
s*u
78
cong
strong case for 1b
avatar
g*n
79
gxgx

【在 s*****x 的大作中提到】
: 12-13 Filed with PP
: 12-21 Clock stopped
: 12-26 I140 approved
: Background: US PhD'10 in CS. 12 publication, 150+ citation, 5 independent
: reference, 5 patents (3 published and released in commercial products). 9
: paper reviews and 3 award/grant reviews. Petition prepared by employer
: appointed lawyer.
: Wish everyone good luck and happy new year!

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