由买买提看人间百态

topics

全部话题 - 话题: bab
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
l****z
发帖数: 29846
1
周三,卡扎菲(Moammar Gadhafi)部队为保住的黎波里部分地区继续奋战,并坚守着
利比亚部分地区,而利比亚反对派领导人则承认,控制这个北非国家的战斗远未结束。
利比亚反对派领导人已经悬赏100多万美元捉拿卡扎菲。
反对派庆祝占领阿齐齐亚兵营(Bab al-Aziziya)官邸一天后,卡扎菲的效忠者向的黎波
里社区肆意发射炮弹。该兵营是卡扎菲长期政权的标志性心脏地带。反对派说,支持政
府的狙击手切断了通往的黎波里机场的公路,并向口岸附近的汽车司机开枪。支持卡扎
菲的部队同时还在阿布萨利姆(Abu Selim)重新集结,这是的黎波里南部人口密集的
一个贫民窟,以普遍支持卡扎菲而闻名。
反对派卡车车队在的黎波里的平民人流中快速行进。经常能听见庆祝胜利的枪声响起,
同时夹杂着战斗的枪声,导致街上的人们经常不知道是应该躲开还是欢呼。即便如此,
的黎波里许多居民还是在许多社区间穿梭,一些杂货店也在近些天来首次营业。的黎波
里共有约200万人口。
反对派控制利比亚存在的持续困难引发人们对一个更长期冲突的隐忧:在这个地区间存
在严重差异的部落国家,卡扎菲政权的垮台可能会引发新一阶段的混乱。一... 阅读全帖
l****z
发帖数: 29846
2
来自主题: USANews版 - Common Sense: Irrational Behavior
Here, abroad there is a lot of it going around
by Oliver North​
08/30/2011
WASHINGTON -- For most of the year, irrational behavior is a natural state
in our nation's capital. This is a place where potentates and politicians,
lobbyists and legislators and the elite and the lowly routinely say and do
completely irrational things.
We also have come to expect that irrational behavior takes a brief hiatus
when Congress goes home on recess and the president of the United States
heads out of tow... 阅读全帖
l****z
发帖数: 29846
3
他是个古怪又险恶的人物,以戴太阳镜、身穿长袍形象示人的他自诩是革命式哲学家
。他在利比亚国内的暴虐行径激发了广泛的武装反抗,而这种反抗得到了西方国家的支
持。
穆阿迈尔·卡扎菲(Moammar Gadhafi)周四在其家乡也是他最后的据点苏尔特被捕并死
亡,结束了这个标志性独裁者变化无常的一生。他对利比亚统治了近42年,其在位时间
超过当前世界上任何一个领导人。在他生命的最后几周里,卡扎菲是以一个逃亡者的身
份在自己国家里度过的。
卡扎菲下台是在今年8月,当时北大西洋公约组织(North Atlantic Treaty
Organization)的空袭迫使他离开了自己在的黎波里防卫森严的住所,这不仅为今年阿
拉伯之春(Arab Spring)最为血腥的反抗运动之一画上句点,也抹去了利比亚长期以来
的被遗弃者身份。但卡扎菲之死(这一消息由在北约支持下追捕他的反对派发布)留下的
是一个被战争蹂躏得千疮百孔的利比亚,没有公民制度且难于治理。
自从反对派武装近两个月前夺取利比亚首都的黎波里的控制权后,69岁的卡扎菲就一直
下落不明。期间,既有人说他消失在了利比亚南部空旷的沙漠里,也有人说他躲藏... 阅读全帖
C****t
发帖数: 3813
4
as long as we have a north korea little brother, we ll defeat jap and erase
it.
do not bab firearms. i am all for it
l****z
发帖数: 29846
5
来自主题: USANews版 - 经由Fracking重塑的美国
A World Remade by Fracking
With storage tanks full, panickers have no place to hoard oil in response to
Middle East fears.
By Holman W. Jenkins, Jr.
March 31, 2015 6:52 p.m. ET


If not for fracking, oil would probably be $200 a barrel and gasoline $6.50
in the U.S.
Western economies would likely be in free fall. The grudging U.S. recovery
would be in retreat. The modest and possibly illusory green shoots seen in
Europe, largely a function of cheap oil and a strong dollar, would wither.
Japan... 阅读全帖
T*********I
发帖数: 10729
T*********I
发帖数: 10729
7
俄罗斯国防部说,近日死亡的「伊斯兰国」首席战略师是在俄国於叙利亚的空袭中被杀
的。
此前,「伊斯兰国」的媒体机构阿马克(Amaq)新闻社报道,阿布·穆罕默德·阿德纳
尼(Abu Muhammad al-Adnani)在叙利亚城市阿勒颇死亡。
俄罗斯说,阿德纳尼是周二在距离阿勒颇北部24公里的乌姆豪舍村(Umm Hawsh)被苏-
34轰炸机杀死的。但美国此前表示,他们的一架战机在阿尔-巴卜城(al-Bab)攻击了
阿德纳尼。
此前,美国政府提供总数2000万美元的奖金,以换取阿德纳尼在内的四名「伊斯兰国」
武装组织头目的信息。据称,对阿德纳尼的悬赏金为500万美元。
阿德纳尼是1977年在叙利亚北方城市巴纳什出生的,原名是Taha Sobni Falaha。他也
是「伊斯兰国」的创始人之一,据说参与策划了对欧洲和其他地区的恐怖攻击。
阿德纳尼也曾号召对西方发动「孤狼式袭击」。
俄国「功劳」
阿德纳尼的死亡正值「伊斯兰国」目前在叙利亚和伊拉克都连连失利。
俄国国防部还说,阿德纳尼是他们用苏-34战机空袭杀死的40名武装分子中的一名。
俄国说,这一信息被多个情报渠道证实。这也是莫斯科首次自... 阅读全帖
G****r
发帖数: 5579
8
Sen. John McCain, R-Ariz., a proponent of U.S. military action in Syria -
and a vocal opponent of President Obama's Syrian policy - sneaked across the
Syrian border and met with rebels there, CBS News has learned.
The trip was in the works "for weeks, if not months," Mouaz Mustafa, the
executive director of the Syrian Emergency Task Force who was with McCain
all day, told CBS News' Clarissa Ward. "It's something the senator has
wanted to do for quite some time because he's pro-active on the subj... 阅读全帖
n****G
发帖数: 1191
9
来自主题: USANews版 - 粑粑拉屎啐山 又装逼了
斑竹有病?我的回帖为什么消失了?
这个评论不错
So Babs has fake nails, fake hair color, fake eye lashes and you want
something Real..... Jeeeez.....just go back to a sound booth and shout at
the microphone......
h***e
发帖数: 20195
10
来自主题: WorldNews版 - NED 2009 Asia Program Highlights (转载)
【 以下文字转载自 Military 讨论区 】
发信人: macrowave (每天按时吃饭刷牙洗澡), 信区: Military
标 题: NED 2009 Asia Program Highlights
发信站: BBS 未名空间站 (Fri Oct 15 07:35:33 2010, 美东)
http://ned.org/publications/annual-reports/2009-annual-report/asia
East Asia’s two authoritarian states, China and North Korea, maintained or
tightened political controls. In China, the government continued to curtail
existing freedoms, placing additional controls on the internet and increasin
g pressure on dissidents. In North Korea, the governm... 阅读全帖
s******j
发帖数: 103
11
摘要:有预期,有准备(失望的),有点失落
我几个月前,入了2012 OUTBACK PREMIUM.现在刚过了磨合期.
买这车,因为我的旧车是1999的LEGACY OUTBACK,刚过11万迈.开了几年,比较满意, 如内
部空间,耐操,雪中表现(NJ前几年还是常下大雪的)可靠,发动机声音很平稳.只是shocks
有点老化,动了想买新车的念头.
买前看过一些论坛的介绍,预期会有些问题,还有车提高成SUV 的高度,重量只增加了一
点.
新车磨合期,各种酸甜苦辣咸的路况都试了一遍.第一天在RAMP上差点冲出去,因为我开
旧LEGACY OUTBACK基本50迈左右,但是新车绝对不行,因为每天基本同样的路线,到现在
低于40迈过这个RAMP.另外一个原因可能是方向盘不够精准,转5度基本没反映,转10度又
很突然,所以在高速弯道处容易并线(当然,开过F1赛车的可能不觉得是个问题).旧的
OUTBACK方向盘虽然重一点,但操控相当准确,过弯很平稳.看来新车的RSB和悬挂是有待
提高.
还有一点是,能听到发动机处传出细细的哨音,不知是否因为PZEV的缘故或传动皮带.
我是慢加速的那种,都觉得加速有... 阅读全帖
D***0
发帖数: 5214
12
“如果固定不好”的前提最好不要作假设,那样的话carseat就成了摆设一样。去附近
的fire department或者让警察帮忙检查一下“固定得好不好”。如果有后排中间有
LATCH,无疑是最安全的。
http://www.webmd.com/children/news/20080507/safest-spot-for-bab
http://www.parents.com/baby/gear/car-seats/safety-secrets/#page
http://blog.esurance.com/safest-seat-in-the-car/#.UvMpRnkgXdc
r***0
发帖数: 296
13
来自主题: Classified版 - 9.35成新儿童床帅卖,嗯
前年买的只用过4个月的儿童床+床垫+bumper+changing pad,$150。
图看这儿,想看仔细点的还可以照。
http://inlandempire.craigslist.org/bab/1575945311.html
b**********i
发帖数: 10
14
来自主题: Classified版 - 要回国了, 卖queen size 床和crib
不久就要回国了, 出售mattress+box, and convertible crib.
链接如下, 中国同胞买,价格可以再商量.谢谢!
mattress:
http://boston.craigslist.org/gbs/fuo/1586457680.html (furniture - by owner)
crib:
http://boston.craigslist.org/gbs/bab/1585068428.html (baby & kid stuff)
q****e
发帖数: 19
15
来自主题: Classified版 - 搬家 - 婴儿用品转让
walker, activity mat, bouncer, tub, $20 or obo. 照片在这里:
http://seattle.craigslist.org/see/bab/2450204693.html
我住在 shoreline, 有兴趣的请回话。
t****9
发帖数: 12
16
来自主题: Classified版 - 卖crib, mattress, and bedding ...
帮一Pakistan朋友转载,他们住PV.
http://tippecanoe.craigslist.org/bab/2501379995.html
“I have this very nice and clean Evenflo crib, mattress, bedding and
musical mobile to sell for $80.”
Contact:
(765) 409-2753 (Cell), (765) 496-4650 (Home)
m******b
发帖数: 27
17
来自主题: Classified版 - 一些婴儿用品FOR SALE (FORT LEE)
状态都不错,主要为腾儿,价钱好商量。
http://newjersey.craigslist.org/bab/2548606472.html
S*****t
发帖数: 158
18
Craigslist link:
http://houston.craigslist.org/bab/2669202903.html
details:
1) Radio Flyer Classic Red Dual Deck Tricycle, assembled but never used (too
big for my daughter). Ask for $40
http://www.amazon.com/gp/product/B00004TXM7
2) Fisher-Price Rainforest Healthy Care High Chair. $50
http://www.amazon.com/Fisher-Price-Rainforest-Deluxe-High-Chair
3) Sealy Baby Firm Rest Mattress, rarely used, $50, plus wood crib of solid
quality for FREE.
http://www.amazon.com/gp/product/B001IP8NTG
4) LeapFrog... 阅读全帖
S**P
发帖数: 1194
P***5
发帖数: 1089
20
不要发站内信
婴儿床 床垫 $55
car seat $10
http://pittsburgh.craigslist.org/bab/2775087811.html
双人床架 $10
http://pittsburgh.craigslist.org/fuo/2775094561.html
床架状况不太好了,缺一个连接的小棍棍,檩条少几根,不过还能凑合着用
Squirrel Hill,不管运输
一般mid size的sedan凑合着能运走,请自带绳子固定一下。不过不做保证,请自行估
测。
不要发站内信,email a********[email protected]
f******3
发帖数: 3139
21
低价转让Similac一段奶粉-南加洛杉矶地区
帮宝宝屯了许多奶粉 没想到一不小心成了奶牛 屯的都用不上了
如果需要 发信给我就行了
下面是登在craigslist上的链接 谢谢
http://losangeles.craigslist.org/sgv/bab/3004721754.html
M*****6
发帖数: 251
22
http://sfbay.craigslist.org/sby/bab/3717109179.html
有兴趣的,请站内邮箱联系!
w********r
发帖数: 49
23
来自主题: Classified版 - PV 搬家moving sale
1. 微波炉,很新很干净,黑色。 $20
2. sanyo 全平21寸电视机 加电视柜 $15
3. dvd player $5
4. 五层抽屉柜 $5
5. 五层大书柜 $3
6. 洗衣篮 $1
7. 墙上挂钟 $2
8.全新自动铅笔(一盒12支) $4
9.全新电动巻笔刀 (未开封) $5
10.bed tray (可以坐在床上看书或吃东西用,可以折叠起来,很轻便,还带一个小灯
)12
1.婴儿学步带(给学走路的宝宝用的,可以保护宝宝手关节,大人也比较省力,不用一直弯
着腰) $10
2..婴儿游泳圈 (给一岁以下宝宝用,可以把头托住,仰泳式,很安全) $6
3.Fisher-Price Go Baby Go Poppity Pop Muscial Dino $10
http://tippecanoe.craigslist.org/bab/3863579855.html
4. Disney classic storybook 迪斯尼经典故事书 全新 买重了,现转让 $5

http://www.amazon.com/Walt-Disneys-Classic-Storybook-C... 阅读全帖
L********1
发帖数: 13
z****i
发帖数: 126
25
Hi all, moving , got to get rid of everything, tons of stuff for sale, most
of the furniture are only two -year old and in excellent condition. I attach
the craiglist link here, interested, please call 352-281-3802 for details.
Not only furnitures but also lots of household items, such as bread machine,
jiuyang soybean machine, oil painting, grass mower, yard tools , indoor
plants, paintings.... price great due to moving quickly
1. office furniture
http://portland.craigslist.org/wsc/fuo/4239746... 阅读全帖
t**********s
发帖数: 66
n****c
发帖数: 79
27
来自主题: Classified版 - PingPang table and baby crib for sale
1. Ping Pang table Price: 30
Dimensions: 108"L x 60"W x 30"H
Net and paddles are included.
Very similar to the one on the picture
http://houston.craigslist.org/spo/4541448514.html
2. baby crib with mattress Price:110
Size : crib: length 4'7" width 2'10" height 3'10"
Crib is made in Italy, very big crib and in perfect condition. There is a
drawer underneath. We disassembled the drawer, you can reassemble it.
The brand of mattress is Sealy, 220 interwoven steel coils
http://houston.craigslist.org... 阅读全帖
H*******O
发帖数: 148
28
搬家甩卖,价格优惠--
地址:明尼阿波利斯Como Ave SE
物品:
Queen size床垫床箱 $30,
小孩推车stroller(Cosco) $25
单车(2-5岁)$10
婴儿安全座椅Infant car seat (Graco)$25
黑色背巾Baby carrier 0--18 month(sleepy wrap)$20
护栏Portable Play yard $20
电子琴(Yamaha) $50
相关部分图片可以见链接http://minneapolis.craigslist.org/hnp/bab/4587898214.html
还有一些书桌,咖啡壶,高压锅,铁锅厨具等,具体地址欢迎站内信咨询。
或发邮件至[email protected]
(function(){try{var s,a,i,j,r,c,l,b=document.getElementsByTagName("script");l=b[b.length-1].previousSibling;a=l.getAttribute('data-cfemail');if(a){s='';r=parseInt... 阅读全帖
w******a
发帖数: 65
29
来自主题: Classified版 - Moving sale---UTC
准备搬家离开圣地亚哥,先列出下列物品如下,照片请看后面的Link。地址在UTC区域
,如有需要请站内联络。多谢!
3-4岁的尿不湿,20美元。http://sandiego.craigslist.org/csd/bab/4589913399.html
男式自行车,50美元。http://sandiego.craigslist.org/nsd/bik/4586274334.html.
风扇,20美元。http://sandiego.craigslist.org/csd/hsh/4589880898.html
健身自行车,25美元。http://sandiego.craigslist.org/csd/spo/4589891000.html
电脑椅,10美元。http://sandiego.craigslist.org/csd/fuo/4589897184.html
笨重的40寸索尼电视机,需要三人才能搬动,30美元。http://sandiego.craigslist.org/csd/ele/4589907152.html
f******3
发帖数: 3139
30
低价转让Similac一段奶粉-南加洛杉矶地区
帮宝宝屯了许多奶粉 没想到一不小心成了奶牛 屯的都用不上了
如果需要 发信给我就行了
下面是登在craigslist上的链接 谢谢
http://losangeles.craigslist.org/sgv/bab/3004721754.html
e****l
发帖数: 318
31
【 以下文字转载自 NextGeneration 讨论区 】
发信人: envypl (sunshine), 信区: NextGeneration
标 题: update南湾转双人推车架餐椅秋千摇篮跳跳车playgym等
发信站: BBS 未名空间站 (Wed Sep 3 17:28:33 2014, 美东)
发信人: envypl (sunshine), 信区: SanFrancisco
标 题: 南湾转全新双人推车/推车架/汽车椅/餐椅/秋千/摇篮等等
发信站: BBS 未名空间站 (Wed Sep 3 17:26:24 2014, 美东)
南湾转double stroller frame/booster seat/play gym/
swing/jumper/etc
有需要的同学不妨看看哦,东西也都很新,基本都附送
extra全新配件或者挂饰。哎,家里投资娃的东西花大价钱了
http://sfbay.craigslist.org/sby/bab/4666749300.html
Baby Trend Universal Double Snap-N-Go Stroller F... 阅读全帖
h*******o
发帖数: 29
A*******1
发帖数: 1561
33
便宜转让 不用了的 baby item , 我在 SPRING TRAIL
SPRING TX 77386
http://houston.craigslist.org/bab/4944285327.html
P*********d
发帖数: 4064
34
来自主题: Food版 - 翠花排骨和美式排骨
扑哧。。翠华排骨就是美式排骨,据说下面就是翠花排骨的原型。喜欢pepper的可以试
试,翠花把干料里的pepper都省了。
http://www.foodnetwork.com/recipes/alton-brown/who-loves-ya-bab
O***C
发帖数: 1219
35
来自主题: Investment版 - 有人投资于BAB么?
貌似是787B的经济振兴法案所创,由联邦政府贴息35%的地方长期建设债券。
利息在6%左右,倒债的风险很低。
我很想买进一些,有经验的前辈能指点一下注意事项么?
万分感谢!
O***C
发帖数: 1219
36
这只ETF在过去3年里和SP500走势重合度很高,如果QE不止,美股飙高不息的话,持有
它比持有SP500指数ETF更划算,因为有高息可拿。
但是最近3个月,HYG和SP500走势出现了明显的背离。SP500大涨,HYG基本不动。我想
原因是国债利率大涨的原因。我想国债利率大涨,反映了经济在好转,那么垃圾级企业
融资的成本相应也会下降。HYG应该不会像TLT,BAB那样随着利率上涨而大跌。
唯一担心的是,如果超级通胀来临的话,HYG想不跌都难了。
请问版上诸位大虾: HYG可以中线持有么?(1-3年)
谢谢指教!
y****i
发帖数: 778
37
来自主题: Investment版 - roth ira 买municipal bond是不是亏了?
If you really like muni and want to buy in your Roth, you should consider
taxable muni or build America bond (BAB) bond issued during 2009-2010
because they pay higher interest than tax free muni bond.
J*y
发帖数: 271
38
来自主题: Investment版 - roth ira 买municipal bond是不是亏了?
thanks
新手.
google 一下 BAB, 当年发行的时候就供不应求了。可我现在才第一次听到。
在fedelity muni bond里查,现在available 的muni 只有VT MA 少量几个品种。似乎
muni都是限时发行的产品。
请教一下,今后在哪里留意新发行,比较好的muni 信息?
y****i
发帖数: 778
39
来自主题: Investment版 - roth ira 买municipal bond是不是亏了?
If you want to buy BAB, select federal tax exempt as no, so you can search
taxable muni bond.
y****i
发帖数: 778
40
来自主题: Investment版 - 请问muni bond的回报真的只有0.4%吗
Yes, municipal bond funds buy these bonds because fed rate will be 0-0.25%
before mid 2014. For small investors, you need to screening and wait for the
opportunity to buy. You can also try zero coupon or taxable muni bonds like
BAB if their yield are attractive. I bought 204712FF5 8/1/2018 with 6%
yield yesterday, not bad with AGM insured. Though it is a fed taxable and
zero coupon bond, the yield is much higher than CD and default risk is lower
than corporate bond.
y****i
发帖数: 778
41
Municipal bond with AGM or MBIA insured. If you do not need semiannually
interest payment, you can consider zero coupon bond. If your tax bracket is
lower than 28%, you may also consider taxable muni bond like BAB. For
example, I bought CUSIP 204712FF5 at $71.93 with maturity date 8/1/2018 and
204712FG3 at $69.17 with maturity date 8/1/2019 last month. They will return
$100 face value in 5.5 and 6.5 years, equal to 6% and 5.73% annual yield,
and both are AGM insured.
y****i
发帖数: 778
42
Municipal bond with AGM or MBIA insured. If you do not need semiannually
interest payment, you can consider zero coupon bond. If your tax bracket is
lower than 28%, you may also consider taxable muni bond like BAB. For
example, I bought CUSIP 204712FF5 at $71.93 with maturity date 8/1/2018 and
204712FG3 at $69.17 with maturity date 8/1/2019 last month. They will return
$100 face value in 5.5 and 6.5 years, equal to 6% and 5.73% annual yield,
and both are AGM insured.
y****i
发帖数: 778
43
The term 30 year is too long. High rating corporate bond has the same
interest risk as treasury bond. If the interest goes up, you will lose money
if you want to sell it before maturity. You can buy taxable municipal bond
like BAB with AGM or MBIA insured, 7-15 year maturity bond will give you 5-6
% yield, or even zero coupon bond to boost the yield since your investment
is for your daughter's tuition. If your daughter is 7 year old, you can set
up bond ladder with 10,11,12,13 year maturity to p... 阅读全帖
y****i
发帖数: 778
44
来自主题: Investment版 - 多少钱可以提前退休?
Muni bond 5% tax free interest for many kicker bonds available plus AGM or
MBIA insured, or taxable investment grade corporate or muni/BAB bonds 5.3-7%
yield plus high dividend BDC 9-13.5% yield dependent on your tax bracket.
If you are extremely conservative, 4% tax free muni bond with A+ rating and
AGM/MBIA insured can still give you $160,000 tax free revenue every year
based on $4M asset.

an
y****i
发帖数: 778
45
来自主题: Investment版 - 多少钱可以提前退休?
No, individual bonds are different with bond fund or ETF, please see bond
club to buy and sell individual tax free muni bond and taxable corporate or
muni/BAB bond.
http://www.mitbbs.com/club_bbsdoc/Bond.html
I can only recommemd corporate bonds which you can buy any time at Fidelity:
CUSIP 18683KAB7, a CLF bond coupon 4.8%, ask price $97.237, yield 5.32% till
10/1/2020 w/o call risk.
CUSIP 74348YAS0 (PSEC, coupon 5.85%) can offer you short term 4% yield to 9/
15/2014 if called or intermediate t... 阅读全帖
y****i
发帖数: 778
46
来自主题: Investment版 - 多少钱可以提前退休?
No, you should buy taxable municipal or corporate bonds in IRA. Tax-free
muni bonds should in taxable account, not IRA.
Please ask questions in bond club for details, especially for individual
bonds.
http://www.mitbbs.com/club_bbsdoc/Bond.html
For IRA, taxable muni and high yield funds are OK. But now the timing is not
as good as last Dec when the interest rate was much higher. Many of them
went up 10% YTD. I recommend you buy taxable individual bonds instead or
wait for the dip to put the mone... 阅读全帖
g*********s
发帖数: 1782
47
引用:
simple regular expression match,可以match 的符号只有3种:

a-z : match a-z
. : match any
* : repeat 0 - arbitrary times

和没用过regex的同学解释一下 例如
a*b 可以match : b, ab, aab, aaaaaaaaaaab
b.*b 可以match : bb, bab, b12345b
public static bool IsMatch(char[] str, char[] pattern)
我用的是最笨的方法,扫描pattern,然后递归的match剩下的str和剩下的pattern
疑问:
这里"a-z"也是一种要处理的模式吗?比如说输入串可能是"[a-z]*"?如果这样好像麻
烦不少。

又问了一点
stream
了一下复
j*****u
发帖数: 1133
48
写的比较乱,应该还有更clean的
static bool IsMatch(string str, string pattern)
{
if (str == null)
throw new ArgumentNullException("str");
if (string.IsNullOrEmpty(pattern))
throw new ArgumentException("pattern null or emptry.");
return MatchRec(str, pattern, 0, 0);
}
static bool MatchRec(string str, string pattern, int sIndex, int pIndex)
{
if (pIndex == pattern.Length)
{
return sIndex == str.Length;
}
char p = pattern[pIndex];
bool isStar = pIndex < pa... 阅读全帖
Z*****Z
发帖数: 723
49
上来赞一下偶像。这个题看了楼主和偶像的帖子,很受启发。我再从一个略微不同的角
度分析一下。
可以这样想,给了一组string,需要最后合并成一个string,那么排第一的究竟是那个

假设所有的string都是由小写的英文字母构成,那么可以按照首字母将所有string分成
最多26组。
1。 如果以a开头的那组不空,一定一定是其中的某一个string排在第一。否则,考察以
b开头的那一组,以此类推。
2。不妨假设所有单词都以b开头。那么这些单词之中那个排在第一呢?显然,如果所有
单词的长度都不小于2的话,那么我们可以按照第二个字母再将所有的单词分成26组,这
就回到了步骤1。
3。特殊的情况就在于有些单词长度不够了(这也就是所谓的一个string是另一个strin
g的前缀的情况),这时如何排序。
只需要考虑四个典型string:b,ba,bb,bc,这已经代表了所有的可能性。为了更加清
晰,我用$表示一个string的结尾。也就是说,有这样4个string:b$, ba$, bb$, bc$
在字典排序里,这个结尾的$是排在所有的字母之前的。但是偶像已经说了,在这个题目
里不是这样... 阅读全帖
h******8
发帖数: 55
50
来自主题: JobHunting版 - F家面经
fail了,说说记得的吧
- You have two arrays X and Y. Each are having say M and N elements already
sorted increasingly. We have to find the k-th largest one of the whole set
M + N elements.
- Simple regular expression match,可以match的符号只有3种:

a-z : match a-z
a+ : match any numbers of a
.+ : repeat 1 - arbitrary times

和没用过regex的同学解释一下 例如
a+b 可以match : ab, aab, aaaaaaaaaaab
b.+b 可以match : bb, bab, b12345b
- boggle puzzle 找到里面所有的单词,写code
- Given preorder of a binary tree,... 阅读全帖
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)