avatar
Anna Kendrick in 50 50# Fashion - 美丽时尚
w*4
1
Leetcode刷了一遍不到,年纪大了脑子不好用了,大家看个笑话就好。
F电话:
小印:Validate BST 秒过
Onsite:
1.编程,老印:Given a list of intervals A and one interval B, find the least
number of intervals from A that can fully cover B。早上脑子不清楚,答的很屎。
2.设计,亚男:设计Instagram。感觉尚可。
吃午饭。
3.老白:聊过去Project,最后来一个BFS算每层平均值,应该答的还可以。
4.编程,白男:先写一个DateTime,应该问题不大。然后是Given a list of strings
and an input string with wildcard (e.g. A?? or B?A?), check if the list
contains the input。用Prefix tree直接上,答的还可以。
5.喝咖啡30分钟,毛妹。
6.怎么tm又来一轮设计,完全没想到,而且是两个人,亚男+三哥,三哥主问。问题忘
了,大概是和Social network有关,口干舌燥,答的很屎。
最后是悲剧,HR说strong feedback,自我安慰一下。
L电话:
Nested Integer,正序秒过,反序基本乱写的。最后时间不够了,让我随便答一下复杂
度。
Onsite:
1.HM聊project,没什么新意。
2.老印直接一道DNA Sequence加强版,要升序打印所有不同的长度为10的序列。说来惭
愧这题的基本版187我当时看答案都看不下去,直接跳过。答的很屎。
3.吃饭。
4.老中Tech comm聊project。
5.老中Word Ladder,做的还凑合。
6.设计,top N trending,答的很屎。
结果还没出,估计也是挂。
avatar
m*7
2
我家的100多天了,晚上睡觉除了在growth spurt期间,其他时候还算不错。可是白天
睡觉一天一个样。两天前最长的午觉是40分钟,一天之内睡了四个小觉;今天上午只睡
了半个小时,下午一气儿睡了三个半小时。
怎么训练宝宝的nap呢?
avatar
G*y
3
看起来效果非常不错
avatar
J*o
4
谢谢楼主分享啊
avatar
m*7
5
up!
avatar
i*S
6
一点都不好看
尤其是牙
脸型也怪异
美貌很刁钻

【在 G*****y 的大作中提到】
: 看起来效果非常不错
avatar
D*o
7
你说的逆序Nested Integer是这个?
364 Nested List Weight Sum II
祝马上有大offer

least
屎。
strings

【在 w*********4 的大作中提到】
: Leetcode刷了一遍不到,年纪大了脑子不好用了,大家看个笑话就好。
: F电话:
: 小印:Validate BST 秒过
: Onsite:
: 1.编程,老印:Given a list of intervals A and one interval B, find the least
: number of intervals from A that can fully cover B。早上脑子不清楚,答的很屎。
: 2.设计,亚男:设计Instagram。感觉尚可。
: 吃午饭。
: 3.老白:聊过去Project,最后来一个BFS算每层平均值,应该答的还可以。
: 4.编程,白男:先写一个DateTime,应该问题不大。然后是Given a list of strings

avatar
w*z
8
我觉得就随她去,能睡足时间就行了
avatar
l*g
9
感觉都是难题。。。
avatar
m*7
10
How long is enough?
My baby's day time sleep varies from 2hr to 5hr, and it is very hard to put
him down after soothing.

【在 w****z 的大作中提到】
: 我觉得就随她去,能睡足时间就行了
avatar
w*4
11

没高级账户看不到,看了答案应该就是这个。

【在 D***o 的大作中提到】
: 你说的逆序Nested Integer是这个?
: 364 Nested List Weight Sum II
: 祝马上有大offer
:
: least
: 屎。
: strings

avatar
b*d
12
For 100 days old, you can stop her/him sleep if it's over 3 hrs. I recall
the CLB suggests 3 naps during this stage, 1hr, 1.5hr and 1hr. I'm not sure
about that, and you can check.
avatar
D*o
13
核心思想一句话:Weight is defined from bottom up
Different from the previous question where weight is increasing from root to
leaf, now the weight is defined from bottom up. i.e., the leaf level
integers have weight 1, and the root level integers have the largest weight.
thx

【在 w*********4 的大作中提到】
:
: 没高级账户看不到,看了答案应该就是这个。

avatar
o*u
14
两个月开始整觉
avatar
f*8
15
祝楼主一切顺利
谢谢楼主分享
avatar
m*7
16
Thanks.

sure

【在 b*********d 的大作中提到】
: For 100 days old, you can stop her/him sleep if it's over 3 hrs. I recall
: the CLB suggests 3 naps during this stage, 1hr, 1.5hr and 1hr. I'm not sure
: about that, and you can check.

avatar
m*s
17
Good luck 楼主,谢谢分享
avatar
m*7
18
May I ask what's your baby's sleep pattern during the day after two months?
My baby slept through the night from the 8th week, but it is getting worse
recently, and it is not due to growth
spurt, coz that happened two weeks ago already.

【在 o****u 的大作中提到】
: 两个月开始整觉
avatar
p*n
19
感觉有戏啊
avatar
o*u
20
She sleeps 1-2 hours or less each time. It really depends.
avatar
z*n
21
Given a list of intervals A and one interval B, find the least
number of intervals from A that can fully cover B
这题直接贪心就可以吧?
排序后,找到所有能cover B的起点的interval里终点E最靠后的那个,然后再找所有能
cover E里终点最靠后那个,然后一直找到能cover B的终点的那个.
avatar
h*n
22
应该能work,不过复杂度太高了
估计面试官想用interval tree啥的

【在 z*********n 的大作中提到】
: Given a list of intervals A and one interval B, find the least
: number of intervals from A that can fully cover B
: 这题直接贪心就可以吧?
: 排序后,找到所有能cover B的起点的interval里终点E最靠后的那个,然后再找所有能
: cover E里终点最靠后那个,然后一直找到能cover B的终点的那个.

avatar
r*7
23
都是nlgn的复杂度吧,除非说要有很多次query

【在 h****n 的大作中提到】
: 应该能work,不过复杂度太高了
: 估计面试官想用interval tree啥的

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