由买买提看人间百态

topics

全部话题 - 话题: sting
首页 上页 1 2 3 4 5 6 7 8 9 10 (共10页)
a**U
发帖数: 115
1
来自主题: JobHunting版 - 一个小的string面试题
string c = "abc"; 问系统做了些什么。
我说,"abc" is sting literal, which will be place in static data segment. 然
后创建一个string在heap里,用“abc”初始化这个string。
大家说我说的对不对?
v*****t
发帖数: 35
2
来自主题: JobHunting版 - 想死的心都有了。。。
谢谢sting的安慰;HR的人毕竟也是一轮面试,如果她说这人不好相处什么的,我觉得
也挺麻烦的(那个HRmm挺nice的,不仅不会诋毁她,甚至还要感激她的安排)。如坐针
毡啊。。。
p*****2
发帖数: 21240
3
来自主题: JobHunting版 - Got a 4? You Were Just Fired from Microsoft
The way Microsoft’s review system works, a whole bunch of Microsoft
employees just got their annual performance reviews. The September 15
paystub will reflect their new “numbers”. If they got a merit increase
the paystub will show it. If they got a bonus, it will show up there too.
This post is for those Microsoft employees who are not happy with their
review…
That September 15 date is what motivates managers to finally get busy
delivering the bad news to employees who didn’t fare so well in s... 阅读全帖
c********t
发帖数: 5706
4
真恐怖啊
问个问题,leetcode上说找 sting中 Longest Palindromic Substring用suffix tree
需要O(NlogN),还不算上构建时间,为什么?
难道不是O(N)吗?
B********t
发帖数: 147
5
来自主题: JobHunting版 - 问两道面试中碰到的题目
第二题:
int minPalindrom(sting &s)
{
vector dp(s.size(), INT_MAX);
for(int i = 0; i < s.size(); i++)
if(isPalindrom(s.substr(0, i+1)))
{
dp[i] = 0;
continue;
}
else
for(int j = 1; j <= i; j++)
if(isPalindrom(s.substr(j, i-j+1)) && dp[j-1] != INT_MAX)
dp[i] = min(dp[i], dp[j-1]+1);
return dp[s.size()-1];
}
第一题怎么个DFS法啊,为啥我只能想到从border上的O出发DFS,找到所有不能变的O..
....
B********t
发帖数: 147
6
来自主题: JobHunting版 - 问两道面试中碰到的题目
好吧。保存切法。
map > cut;
int minPalindrom(sting &s)
{
vector dp(s.size(), INT_MAX);
for(int i = 0; i < s.size(); i++)
if(isPalindrom(s.substr(0, i+1)))
{
dp[i] = 0;
continue;
}
else
for(int j = 1; j <= i; j++)
{
if(isPalindrom(s.substr(j, i-j+1)) && dp[j-1] != INT_MAX)
{
if(dp[j-1]+1 < dp[i])
{
cut... 阅读全帖
m******e
发帖数: 353
7
来自主题: JobHunting版 - Cerner这个公司怎么样?
If you want a future in your career, stay away! Outdated technology. Expect
48 working hour per week.
http://www.nytimes.com/2001/04/05/business/stinging-office-memo
A**u
发帖数: 2458
8
Successfully sent baozi to the following accounts:
['centersnow', 'rhsh', 'Michelle85', 'Perl', 'manutdcn', 'mikeyi', '
littlenetbug', 'BenArfa', 'nikd800', 'ztsan', 'Dan916', 'shaitthis', '
baolong', 'lwpro', 'ewr', 'xiaoxiaoren', 'zezheng', 'aerolite', 'wits', '
flymelody', 'zpytb', 'DONTBESILLY', 'sillydonkey', 'tigermom', 'happyminime'
, 'mour', 'Jc2013', 'southnorth', 'susy11', 'seekingjob', 'fengse8634', '
kaluo8756', 'CHBBCHBB', 'eejchen', 'woomy', 'Rodic', 'seahope', 'Hector', '
maybe8',... 阅读全帖
l*****t
发帖数: 2019
9
这个太一眼难尽了。而且也没看懂Cassandra vs Cloudera, 你说Cassandra vs HBase
or Datastax.vs Cloudera?
要通关,我觉得攻略是
1)看老paper:amazon dynamo, google bigtable 2002 acm paper, google dremel
paper
2)看网上评论,你的问题就是keywords
3)future hadoop:
a) YARN
b) all different angles to shift focus from offline to online/nearline.
i)Hive SQL enhancement, Tez, sting, phoenix
ii) impala, dremel (以及non-hadoop, spark/shark, mpp)
c) Hbase datacenter aware
d) 网上搜下 "Hortonworks objectives 2013"
e) Watch HadoopSummit 2013 vid... 阅读全帖
l*****t
发帖数: 2019
10
hadoop components : mapreduce,hdfs(copycat of google GFS or now colossus),
hbase(copycat of google.BigTable or spanner now), hive, pig, zookeeper,oozie
,flume,sqoop,hcat.etc
hadoop version: many v1 that's.0.x and YARN aka verson hadoop 2.0
hadoop vendor: apache, cloudera, mapr, hortonworks. arguably (who claims
support MapReduce) greenplum, datastax( Cassandra vendor that supports
MapReduce on CFS), Hadapt(Hadoop and SQL),heard couchdb,mongodb all supports
MapReduce now.
Hadoop new:
1) impala ... 阅读全帖
n********e
发帖数: 41
11
来自主题: JobHunting版 - Leetcode的系统真是弱爆了
楼主 看到 你 isDiffByOne 函数就知道你必然要超时
Leetcode免费给你用 就别挑剔了。凡事要先从自身找问题
你那个测试不是大数据
真正的大数据在这里:
start = "nanny";
end = "aloud";
String[] d = {"ricky","grind","cubic","panic","lover","farce","gofer
","sales","flint","omens","lipid","briny","cloth","anted","slime","oaten","
harsh","touts","stoop","cabal","lazed","elton","skunk","nicer","pesky","
kusch","bused","kinda","tunis","enjoy","aches","prowl","babar","rooms","
burst","slush","pines","urine","pinky","bayed","mania","light","flare","
wares","wom... 阅读全帖
e*****e
发帖数: 1275
12
来自主题: JobHunting版 - 发狗狗面筋,求bless
新鲜的狗狗面筋。
电面一,
a, b, c, d, e,
f, g, h, i, j,
k, l, m, n, o
p, q, r, s, t
u, v, w, x, y
z
Write code to give the character sequence given a word, For example, if the
word is "CON", the function will print this:
Right//now we're at B
Right//now we're at C
OK//to select C
Down
DOwn
Right
Right
OK//to select O
Left//now at N
OK//to select N
电面二,search rotate sorted array.
check binary serarch tree is valid
Onsite 1, check sting is valid UTF-8.
给一个矩阵,每个格子上有三种可能,空房,阻碍物或者是保安,阻碍物不能进,空房
四个方向都能进,要写代码给每个空房标... 阅读全帖
Q****a
发帖数: 296
13
来自主题: JobHunting版 - 如何check sting is valid UTF-8
在看面筋, 求问这道题是给个函数就可以了还是要具体实现? 求大牛们给个标准答案
谢谢啊:)
搭车同求,cortex hull careercup问题是啥? 放狗搜没搜出来。。。
x****u
发帖数: 12955
14
来自主题: JobHunting版 - F家电面:group Anagrams

啊。错成这样。脑子糊涂了。
不过,还是不用sort,假设字符是英文字母,就设两个个26单元的array。然后一个
string从前向后,另一个sting从后向前,见到一个字符就把对应的那个array单元加一
。最后然后比较两个array,每个单元的数字都一样的就是anagram/
a***u
发帖数: 383
15
来自主题: JobHunting版 - Uber 电面 (已挂)
首先感谢本版mitbbsfanfan的热情内推才能得到这个机会。
之前已经面过2轮拿到了on site,但最初面的那个组招满了。HR说换个组,要加一轮电
面。面试官是国人manager。
电面题目是system design, 设计Imessage. 具体点就是说 如果A 给 B 发一个
message, B如果分别在iphone和mac或其他apple设备上登录,这些设备都可以收到
message。message的数量可以很大,单个message本身也可以很大。
我system design问题准备不足,之前也没想到电面会考这个,说得磕磕巴巴。当时的
想法是先构造3个类,user(client),server,message。user之间通过server传递
message。user(client)有一个client用来接收收到的信息。如果同一个uer有多个设
备登录,这些设备可以在server端的user帐户里注册,然后server把信息分别发给每个
设备。
user类里面东西也没想太多,一个记录contacts的hashmap 一个message queue, send
,rec... 阅读全帖
y*d
发帖数: 2226
16
http://nextshark.com/uber-drivers-arrested-los-angeles/
其实,我很好奇,如果我在路边捡了一个搭顺风车的妞,然后妞给了我几块钱作为报酬
;我是不是也会被抓?
z*******o
发帖数: 4773
17
这个我觉的就跟你yard sales一样,偶尔卖一次没人检查和监控你上没上税。
但如果你靠着yard sales谋生,监管肯定不一样。
d********t
发帖数: 9628
T*****9
发帖数: 2484
19
不是说还会让你啪啪啪嘛,国内的话

Women
c**********8
发帖数: 1052
20

开个好车加忽悠自己的权力
s*****m
发帖数: 8094
21
”uber driver“这个说法很有趣。
它是指"uber's driver"?还是要说"driver who uses uber"?
头一种说法显然不是uber承认的。
而后一种说法又完全”管uber吊事“?那些司机不少还用lyft,airbnb,wechat呢,so
what?
他们arrested的理由是“用了uber”?还是比的?不是的话,“管uber吊事”?
y*d
发帖数: 2226
22
车窗上贴着一个U吧

so
z*******o
发帖数: 4773
23
干什么啪啪啪??
b**********5
发帖数: 7881
24
Andy Guo, an 18-year-old Chinese immigrant, loves driving his red
Lamborghini Huracán. He does not love having to share the car with his twin
brother, Anky.
"There's a lot of conflict," Mr. Guo said, as a crowd of admirers gazed at
the vehicle and its vanity license plate, "CTGRY 5," short for the most
catastrophic type of hurricane.
The 360,000-Canadian-dollar car was a gift last year from their father, who
travels back and forth between Vancouver and China's northern Shanxi
Province and made h... 阅读全帖
s**********d
发帖数: 36899
25
来自主题: Living版 - 大家买房loan是一个人的么
now without your name on the loan,
you may fell a slight sting, that's pride
fuckin' with ya. Fuck pride! Pride only
hurts, it never helps.
p**q
发帖数: 535
26
how can wasp drill the wood? with its sting? amazing
a***u
发帖数: 335
27
In the late-spring and early summer, homeowners often notice large, black
bees hovering around the outside of their homes. These are probably
carpenter bees searching for mates and favorable sites to construct their
nests. Male carpenter bees are quite aggressive, often hovering in front of
people who are around the nests. The males are quite harmless, however,
since they lack stingers. Female carpenter bees can inflict a painful sting
but seldom will unless they are handled or molested.
Despite
n******a
发帖数: 237
28
I got a sting from a wasp yesterday. Sharp pain when it happened. did not
swell very bad. Just like a bite by a mosquito. But feel dizzy the whole
morning.
didn't do anything t treat it. Guess they are not very poisonous
T*R
发帖数: 36302
29
来自主题: Living版 - 找到9万不交税的答案了
Nearly half of US households escape fed income tax
Recession, new tax credits have nearly half of US households paying no
federal income tax
ShareretweetEmailPrint
FILE - In this April 5, 2010 file photo, Internal Revenue Service
Commissioner Douglas Shulman gestures while speaking at the National Press
Club in Washington. Tax Day is a dreaded symbol of civic responsibility for
millions of taxpayers, but for nearly half of all U.S. households, it's
simply somebody else's problem. About 47 percen... 阅读全帖
n*******e
发帖数: 340
30
A MUST READ FOR ALL HOMEOWNERS BEFORE HIRING ANYONE / DON'T BECOME THE
NEXT VICTIM!
WATCH THE VIDEOS BELOW / NEVER TAKE ANYONES WORD WITHOUT CHECKING THEIR
CA. STATE CONCTRACTORS LICENSE
As an owner hiring an unlicensed individual you assume full
responsibility for all phases of your project and its integrity.
Unlicensed individuals most likely carry no Liability Insurance or
Workers Compensation Insurance. What does it mean when they are injured
while on your property ? This means YOU the homeo... 阅读全帖
m******t
发帖数: 4077
31
来自主题: Living版 - 大家看看这是个什么虫子?
well, according to wiki, it rarely stings; and even if it does, harmless to
humane beings, so no worry.
c********r
发帖数: 649
32
来自主题: Living版 - Best places for the rich and single
Manhattan Beach就是 18罗汉被抓的地方。。
18 Men Arrested In Sex Sting At Manhattan Beach Public Restroom
http://losangeles.cbslocal.com/2012/04/03/18-men-arrested-in-se
m***y
发帖数: 14763
33
I figure you are confused.
上来就勇敢地直接咬,基本不太试探 are American, but they can't navigate in
the sun. The Asian got no problem with sunlight, but they are more shrewd,
always probing you and when you are tired, they sting you without being
noticed.
You are really doomed if you got both.
l******r
发帖数: 4021
34
来自主题: Living版 - 需要加一个buyer agent吗
哦。一般来说,如果对方带你看房了,原则上那份commission是要给他了,其它人拿不
到,所以你再找个自己的agent,人家一看拿不到commission,那忙活啥呢。你跟这个li
sting agent都到了counter offer的阶段了,就别再折腾了,就他吧。

agent
listing
D****9
发帖数: 10889
35
来自主题: Living版 - 有人用用电池的trimmer吗?
不麻烦,把reel拿出来,sting拉出来就可以了
t*******n
发帖数: 4445
36
If there are >10 stings, or you have any non-local symptom, go to ER
Otherwise, apply baking soda paste, ice, or bendaryl cream to the location,
or take oral bendaryl.
f****o
发帖数: 2770
37
来自主题: Medicine版 - 被蜜蜂蜇了怎么处理?
1. Remove the Stinger
Scrape the area with a fingernail or use tweezers to remove it.
Don't pinch the stinger -- that can inject more venom.
2. Control Swelling
Ice the area.
If you were stung on your arm or leg, elevate it.
Remove any tight-fitting jewelry from the area of the sting. As it swells,
rings or bracelets might become hard to get off.
3. Treat Symptoms
For pain, take an over-the-counter painkiller like acetaminophen or
ibuprofen. Do not give aspirin to anyone under age 18.
For itchin... 阅读全帖
w**********g
发帖数: 48
38
多谢你。
我没有拖过,每个月还清,然后又欠。
我查了些信息,贴这里,很长,有兴趣的人可以看看,基本确定这个就是骗子,还好他
问我SSN的时候我就什么都没有说了,不然估计就惨了
希望如果类似情况,大家能直接忽略那些垃圾邮件(那些邮件看着挺吓人和诱人)
Credit Resolution Advisors Just Sent Me a Mailer. – Sumir
CRAisevil
The owners of CRA or CreditResolution Advisors should be arrested for
fraud and deceit.
I’m contacting the FBI.
The more people who contact the FBI, the quicker these guys will be on
the lam.
Jblittle40
Must be a scam. I received pink notices from them trying to renegotiate
A cr... 阅读全帖
c********d
发帖数: 698
39
来自主题: NextGeneration版 - 请推荐驱蚊的玩意儿
Search avon skin so soft bug repellent spf15 or spf30. It is effective,
excellent review, no deet. The only problem, though, is it seems to sting
the eyes (so my son does not like it now)
c***m
发帖数: 816
40
来自主题: NextGeneration版 - 迟到的产经(很唐)兼问产后恢复
一直想发产经,但总是很懒。怀孕以来一直在宝宝版逛,学到了很多东西,今天终于
把产经写了回馈宝宝版,呵呵。
预产期是8月20号,38周检查的时候(8/11),医生说cervix soft,about 50%
effacement,没怎么开指,宝宝已经engage 了。当时觉得有点惊讶,跑厕所的次数跟
以前差不多,还是感到胃被顶着,而且喘不过气,怎么会已经入盆了呢。39周(8/16)检
查,医生还是一样的话,顿时觉得很失望,这一周全白走了,一点进展也没有。
Andie2008在版上抱怨说39周了一指未开,不知道要overdue多久,我觉得有伴了,呵呵
。继续每天狂走路。8/17晚上绕着球场暴走了45min。晚上睡觉的时候感到lower back
pain,当时想,难道是传说中的宫缩?有点紧张,有点兴奋。LG睡得很熟,我就拿着手
表记时。大概十几分钟一次,每次30秒到一分钟不等。痛感不是很强。我就想,如果真
的是early labor,我应该睡会儿觉保持体力。如果不是真的,我就应该能睡着。折腾
到8/18凌晨三点,终于迷迷糊糊地睡着了。第二天早上起来,就不疼了,觉得有点失望
,但又觉... 阅读全帖
n**********b
发帖数: 253
41
soap nut can also use as shampoo, but not for baby. it will sting eyes.
n**********b
发帖数: 253
42
soap nut can also use as shampoo, but not for baby. it will sting eyes.
p********5
发帖数: 7433
43
来自主题: NextGeneration版 - [参加活动]宝宝春游-周末繁忙
周末是我比较忙的时候,宝宝们去动物园,小公园,游乐场,还有很多可选的地方,但时间真的不够用。周中是我休息的时候。
有一张是宝宝们在水里摸sting ray.
t**********5
发帖数: 72
44
来自主题: NextGeneration版 - 我很幸运不是糖妈 - 个人经历分享
我google来的:
If it's from a vein (the usual place the medical folk use, like from an
elbow) then it's blood that has already passed through capillaries and is on
its way back to the heart. It's in the capillaries that most glucose
absorption is done, so venous blood is usually lower in glucose level than
other blood. Or blood can come from an artery, though this is rare because a
needle stick in an artery really stings. This blood is on its way to the
capillaries and so will usually have more gluc... 阅读全帖
c*******1
发帖数: 99
45
来自主题: NextGeneration版 - 小宝宝验血应该有专用的细针
小宝宝验血应该有专用的细针
上来说两句, 小孩子, 特别是两岁前, 一般不需要抽血, 就是手指上扎一下, 挤
一挤, 就够了。 就是这个"挤一挤"我儿子也会哭的很厉害。 如果需要抽血应该用
孩子用的针, 我见过的是 butterfly needle, 我安慰他说是个bee sting, and may
be a big bee,抽完,我儿子说是个little bee, 一点都没哭, 他那时两岁多。
如果护士用大人用的针, 还扎了两遍, 我肯定要发火的, 也会考虑换医生.
s**********h
发帖数: 436
46
"针刺般的痛". Sting? Sharp pain as if a needle is piercing?
n******y
发帖数: 34
47
来自主题: Parenting版 - Bee sings
LG and my son got bee stings in our neighbor's front lawn this early evening
when he was talking to our neighbor. One of the baby stepped the bee nest
while my son was playing with our neighbor's kid. LG took my son up
immediately and so did our neighbor. But the bees chased them even when they
ran into the houses. My two years old baby got stung three times and my poor
LG got five or six when he was trying to protect the baby. Two bees followed
them into our house, LG broke a ceiling light when
w*******g
发帖数: 9932
48
来自主题: Parenting版 - 急问过敏!大家帮看看
The disease is very strange. I got it every few years. At first, I thought
it was triggered by wasp stings. Later, I thought it was triggered by
drinking
wine. None of these really is really true actually. Doctor told me that most
of the time, there is just no reason at all.

,
it
x*****i
发帖数: 4035
49
来自主题: Parenting版 - 什么办法可以防止孩子抓伤口
try liquid band aid? someone here recommended one that doesn't sting, i
think it's nexcare but i can be wrong
b*****x
发帖数: 51
50
来自主题: Parenting版 - 今天才知道儿子经常被欺负
还有,你们要教一些基本的英文单词和句子。小孩的英文入门了,会学得很快。
如果你只让他自己在学校里掌握,也是可以,但是过程会慢很多。
我们只给儿子上过4个月不到的preschool。但是我们平时教了他一些基本的。
所以才上2个月的K,英文进步很快,现在也不再用特别教他了。
现在他回家跟我们说话有时都带几个单词,句子也能说不少了。像hit, punch, push,
sting, pinch,scratch这些词都会说了。
首页 上页 1 2 3 4 5 6 7 8 9 10 (共10页)