由买买提看人间百态

topics

全部话题 - 话题: talbe
1 (共1页)
s***t
发帖数: 49
1
来自主题: JobHunting版 - 请教2个 huge file的面试题
hash talbe 放在什么地方呢?
x***y
发帖数: 633
2
来自主题: JobHunting版 - 做道有序数组元素求最大和题?
I know what the method is about, but it's not correct.
Say a1[]={5, 4, 1} a2[]={4, 3, 1} Then the result would be
5+4 = 9
5+3 = 8
4+4 = 8
4+3 = 7 //but in your method is either is 5+1 or 4+1
I have said that the problem with the approach is that there may be more
than 2 candidates for next pair.......
I know with Young talbe, we can get a O(n^2) solution...But how to get
better, like O(nlogn) is very difficult for me....
h****y
发帖数: 137
3
来自主题: JobHunting版 - T家电面面经并且不解为何被秒拒
leetcode原题, permutation II和permutation sequence, 就是把int换成了char, 45
分钟的面试老中面试官大哥迟到5分钟, 却要按时结束, 加上闲扯几句, 这两题一共就
32分钟时间, 我自己感觉除了一点小typo之外没有问题啊, 那几个typo还是因为第二题
完全没时间检查了, 有他迟到的5分钟肯定能检查出来. 6个小时后就收到拒信, 而且我
用的C++, 感觉面试官对C++一点都不熟, 基本不说话, 我说好了后他也不review, 不作
评价,第二题还冒了一句std::set的元素是无序的, 你这样遍历得到的结果是随机的,
还浪费我时间跟他解释, 我汗...
下面贴上我的代码, 想请大家评评, 真心不懂为啥被拒, 能不能跟recruiter complain
一下?
1. input : string
output : print all the permutation of the input
there are duplicates in the input, avoid print out the same string in ... 阅读全帖
a******e
发帖数: 710
4
来自主题: JobHunting版 - T家电面面经并且不解为何被秒拒
我觉得30分钟做出这两道题很不简单啊。
不过这个循环的判断应该是小于等于号吧?
for (int i = 1; i <= str.size(); ++i)
nPermute *= i;
string correspPermute(string& str, int index)
{
set table;
for (auto& c : str)
table.insert(c);

int nPermute = 1;
for (int i = 1; i < str.size(); ++i)
nPermute *= i;

string res;
--index;
for (int m = index; m >= 0; --m) // 这里不应该是index应该是str.size()
{
nPermute /= m;
int idx = index / nPermute;
auto iter = table.... 阅读全帖
e*****e
发帖数: 1275
5
来自主题: 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.
给一个矩阵,每个格子上有三种可能,空房,阻碍物或者是保安,阻碍物不能进,空房
四个方向都能进,要写代码给每个空房标... 阅读全帖
m*********y
发帖数: 111
6
来自主题: JobHunting版 - 发狗狗面筋,求bless
hash talbe, function, why prime, etc
请问这个题是要求自己写hash table hash function吗?
用hash table内部用链表还是数组呢,谢谢!

the
b******6
发帖数: 572
7
你的意思是说table saw 的更好了?
但是不知道这个table saw 切割长木怎么弄。
另外,miter 能替代 talbe 的吗?
s****e
发帖数: 209
8
来自主题: NextGeneration版 - 给大家推荐个train table
http://www.walmart.com/ip/Activity-Table-with-Train-Set-and-Storage-Box/15249626#Item+Description
在网上已经卖完了,但是店里还有。
之所以推荐,理由如下:
1.1岁以上的娃开始喜欢站在桌边玩小车(反正俺家这个是这样)锻炼手眼协调和想象
力,挺好的益智游戏,家长也可以轻松会儿。这个table set包括了桌子和一套轨道和
一些小车,建筑物。桌面大小大概是30’X 30’带的轨道是可以兼容托马斯和其他几个
大品牌的。
2.开始玩mega和lego,可以以后买个lego plate 放在桌上,这个桌子就又可以当lego
talbe了。---这点是设想,如果有经验的lego前辈们有不同意见欢迎提出!!
我大概看了lego plate,一般也就15’X 15’大,不会比这个桌子大。
另外我也看了些专门车,lego两用的桌子,比如下面这两个,但都贵出很多,而且还小
。大家也可以看看,第一个costco的正在打折。
http://www.costco.com/Browse/Product.aspx?Pr... 阅读全帖
g****i
发帖数: 2269
9
来自主题: NextGeneration版 - Delta Duval crib and changing table
http://www.toysrus.com/product/index.jsp?productId=3812516&prod
anyone used it before? we ordered in baby RUS store on Sat. They were on
sale: crib original price 179.99 sale 99.99; changing talbe original price
99.99 sale 49.99
I was told no side should be lowered now per new regulation. It is hard to
pick up a baby from the crib although it has 3 positions to adjust
c**********e
发帖数: 236
10
来自主题: NextGeneration版 - 你们家娃都有啥大爱的玩具(update)
建议lz还是看看自己的娃喜欢什么再入,可以带到toysrus区实地看看,我入了music
talbe,learning home等popular的玩具,娃不领情,不感兴趣,只喜欢爬上爬下,最
喜欢爬栏杆,爬沙发。。。。
f*******f
发帖数: 270
11
来自主题: NextGeneration版 - 求:fisher price 的coupon本本
小狗的我用了, 但musical talbe 10off 的还在,想换S家奶票。
p**********6
发帖数: 365
12
来自主题: NextGeneration版 - 刚出生的娃用什么样的床啊?
那那种带CHANGING TALBE和床的PLAY YARD需要买么?以后娃用得着PLAY YARD么?
s*****o
发帖数: 347
13
要逐渐来,如果今天吃恶心就稍微打细点,然后隔两天再试。15个月确实要吃talbe
food,多吃蛋白质长肉
s****e
发帖数: 209
14
来自主题: Parenting版 - 给大家推荐个train table
http://www.walmart.com/ip/Activity-Table-with-Train-Set-and-Storage-Box/15249626#Item+Description
在网上已经卖完了,但是店里还有。
之所以推荐,理由如下:
1.1岁以上的娃开始喜欢站在桌边玩小车(反正俺家这个是这样)锻炼手眼协调和想象
力,挺好的益智游戏,家长也可以轻松会儿。这个table set包括了桌子和一套轨道和
一些小车,建筑物。桌面大小大概是30’X 30’带的轨道是可以兼容托马斯和其他几个
大品牌的。
2.开始玩mega和lego,可以以后买个lego plate 放在桌上,这个桌子就又可以当lego
talbe了。---这点是设想,如果有经验的lego前辈们有不同意见欢迎提出!!
我大概看了lego plate,一般也就15’X 15’大,不会比这个桌子大。
另外我也看了些专门车,lego两用的桌子,比如下面这两个,但都贵出很多,而且还小
。大家也可以看看,第一个costco的正在打折。
http://www.costco.com/Browse/Product.aspx?Pr... 阅读全帖
b***d
发帖数: 2695
15
想起来,如果要联名向学校建议/申请nuts-free lunch talbe, nuts-free classroom
不一定只限于有过敏孩子的家长,美国很多人有花生过敏,所以就算普通家长,
可能有亲戚,同事,朋友会有花生过敏,还有那些真正有爱心的家长,他们也
一定会支持你的。
建议你先跟学校交涉,如果未果,求助于PTO,联名向学校申请。
good luck! 及时向大家更新进展。
y****1
发帖数: 213
16
I found the nice following desk for my son:
http://www.potterybarnkids.com/products/carolina-craft-table/?pkey=rromplytew
No concept for this store. Is it easy to return if buy online?
Thanks a lot!!!
e**m
发帖数: 61
17
来自主题: Boston版 - New coffee table for people who need it
SAUDER COFFEE TALBE BRAND NEW.
* Constructed of engineered wood with a dark walnut finish
* Wrought iron-style metal frame
* Safety-tempered glass top
* Open shelf for storage
* Finished on all sides for versatile placement options
* It need assembly by yourself.
Model No.: 402810
Shipping Weight (in pounds): 57.0
Product in Inches (L x W x H): 47.5 x 23.5 x 18.0
It doesn't fit the furniture color in my room, so want to transfer to others
who is in need of it.
L**P
发帖数: 3792
18

This is the point why some customers "feel" cheated in mind, although it is
clearly written. Similarily, the business owner feels bad for 1 person/talbe
, although it is not against the written rules either. 一个数字两种解释引起
矛盾,但是这也是groupon这些中间人能赚的一个原因了。
G***Y
发帖数: 9698
19
出售宜家酒吧椅 IKEA Bar Chair
http://www.mitbbs.com/article_t/NewYork/32614039.html
八成新夏普空调出售,附送电脑椅
http://www.mitbbs.com/article_t/NewYork/32614033.html
小床头桌 咖啡桌 side table $5
http://www.mitbbs.com/article_t/NewYork/32614027.html
出售咖啡桌 coffee talbe $10
http://www.mitbbs.com/article_t/NewYork/32614021.html
G**********8
发帖数: 16
20
来自主题: NewYork版 - 出售咖啡桌 coffee talbe $10
分类:家具
具体:coffee table
地点:曼哈顿 upper east side
价格:$10
方式:提货
d******2
发帖数: 695
21
来自主题: NewYork版 - 出售咖啡桌 coffee talbe $10
长的那么丑啊
L*******8
发帖数: 13
22
iN SQUIRREL HILL, THE TALBE CAN BE PUT IN THE BACK SEAT OF CAR,if you are
close to my home, maybe I can help U to deliver matress
z********0
发帖数: 88
23
来自主题: SanDiego版 - Moving Sale
1.两层的drawer (L:30cm W:62cm H:39cm) $7
2.Dresser (L:29cm W:60cm H:80cm) $5
3.floor lamp $5
4.talbe (L:60cm W:100cm H:74cm) $10
5.Wall colck (R: 22cm) $2
6.hot water bottle $2
7.手电筒和小闹钟 free
Q*K
发帖数: 3464
24
来自主题: Seattle版 - 鲍尔默抨击苹果iPad不够出色
OMG, WTF
delayed such an important feature to 2 years later and wait android talbe to
take another big market share?
x****x
发帖数: 262
25
来自主题: Seattle版 - Free Furniture
white leather sofa+loveseat
Oak extendable dining talbe + 2 chairs
Round rug
Flower print fabric soft + chair + oatman
formal dining table+ 6 chairs + display huntch
Condition shows wear and tear but overall looks ok. U haul and people who
wants them all have priority.
d***t
发帖数: 419
26
来自主题: Billiards版 - 2009 Masters Snooker First round
It was good to watch the match.
Here are some pictures and videos (later).
2009 Masters - Warm welcome as Ronnie Enters the Venue - snooker
2009 Masters - Ronnie clears the table to level 3-3 - snooker
2009 Masters - Ronnie clears the talbe to level 5-5 - snooker
2009 Masters - Ronnie was not really on form - snooker
2009 Masters - Tactical play of the final frame - snooker
a********k
发帖数: 11445
27
来自主题: loseweight版 - 量化食谱,重新减肥
之前没有把吃的东西卡路里记下来,感觉自己吃的不多,但是发现效果真是不明显。从
今天开始,量化减肥,记录卡路里
8月30日
早餐:麦当劳yogurt parfait 180卡,apple juice 80 卡, 共计260卡
午餐: miso soup, california roll 2pcs, dragon roll 4pcs,spicy tuna sashimi 6pcs,teriyaki chicken 2pcs chicken and 2 talbe spoon of rice
大概有700多卡
晚餐: 没吃
snack:海苔,20卡
共计815卡,跑步机25分钟。
d********g
发帖数: 11948
28
BSU可怜啊 hype了这么多年,机会如此之近,还是没机会
N*********6
发帖数: 4372
29
我几周之前就预测他们进NCG,现在还这么认为,但是对OU 五五开
NCG很难说啊, oSu的防守太差了,真的太差了,对上SEC的防守不能说
一定被shut out,但是必须match points才有希望,看他们如何击破
SEC防守的神话了
N**s
发帖数: 837
30
来自主题: TexasHoldem版 - anybody got royal flush before?
or ppl at your talbe, at any game
y********n
发帖数: 2063
31
Enter Final table as chip leader.
Before final talbe: I do not allin with anybody, just chips up by stealing blinds.And I have never raise Micheal Craig's blinds. When I saw Micheal Craig is in BB, I folded Ace 9 preflop. When he does not raise, and he is not in blinds, I raise with q7s.
Played 2 totally unnecessary hand, and get busted as 6th. Although I have the button, it is totally nonsense to be involved in such marginal situation.
If I do not play that 2 hands, just steal blinds. I am sure
f*****g
发帖数: 15860
32
来自主题: TexasHoldem版 - durrrr is over...
he's on big non sense tilt like a gambler.
this morning alone he at least lost another $500K in 1 hour on 1 talbe.
omaha hi is not that much different from hold'em in card ranking.
c****1
发帖数: 457
33
来自主题: TexasHoldem版 - Multi-entries MTT @FTP
the number of multiple entries is limited to 4, for some big major, prob 6.
and usually multiple entry tourney has a huge field (>1000) the chance you
can combine you chips into final talbe is pretty slim . I think multiple
entries can give good players more chance to run deep. BTW, why dont you
guys like rebuy game? Last Saturday, MPT event 1, none of you rebought
except me. pretty odd.

a
f*****g
发帖数: 15860
34
来自主题: TexasHoldem版 - MA终于要有casino了
told you, it's a natitional trend, and bad news to LV or AC, lol, tax money
is big and a quick "fix".
MD has and is building a few new casinos now with only slots, i guess in 3-5
years time, they'll have this talbe-game (the real juicy part) proposal.
o***r
发帖数: 189
35
来自主题: Reader版 - 一路狂奔
OUTLET也卖书,而且是贱卖.有了这个发现,2周之内就去了3次.虽然one way大于100
里.
首先在fiction发现了被咱们翻做战争风云的paperback,两块钱.想起第一次看这本
其实算爱情小说的东西的时候,扉页的公章盖着;省军级领导审阅.哈哈
然后是华尔街虫子们编的98世界年鉴,4块钱.其中中国的GDP再次高于日本,独乐乐
胜于众乐乐.
接着就不能免俗找点地图导游之类的.Frommer的欧洲介绍,当场就给我驱车纵横欧陆
的信心和雄心.7块钱重燃远征欧陆之梦,值.
当然有非常搞笑的东西.马可波罗到过中国没有?看这书名就起腻,不过看在4快钱份上,
先存着慢慢研究,以供腹谤.他妈的欧美有虱之士难道连这个祖这个典都要忘一忘数一数?
全球经济战略的书也不少卖得平到笑.书呆子们的talbes真多压,我们喝汤的学问他们
作为business culture介绍,可惜我都不知道自己这么着喝汤的;关于地球村营销的学问,
更是叹为观止,除了谢谢白发如雪教授们对黄土地市场的垂涎,我真想问:你们懂人情事故么?
德国二站军服画册,10块钱.
z*q
发帖数: 29
36
来自主题: BuildingWeb版 - Help on View DB talbe using Perl CGI
I already retrieved data from mySQL table and show the table content in a
table in HTML. (written in Perl CGI).
The problem is: when there are too many rows, it is too slow to generate the
HTML, and not good for user. I want to only show some of the records in one
page, then use "previous", "Next" link for other record. It is like Yahoo
email.
Anybody know how to do it in Perl CGI, that I don't have to query table
repeatly? I mean for the first time, the Perl CGI retrieve all records and
save th
s**********i
发帖数: 711
37
来自主题: BuildingWeb版 - Help on View DB talbe using Perl CGI

it's slow for the query, not generating HTML table, unless
you really have broken codes.
what you said here won't help because the first page still
needs that much time.
z*q
发帖数: 29
38
来自主题: BuildingWeb版 - Help on View DB talbe using Perl CGI
Yes, for the first time, it will take time to retrieve all records
anyway.
But what I mean is I don't want to query database every time for some
records,
for example, for records 21-40, then 41-60. I want to save all retrieved
records
in a global array for the first time. Then I only show 1-20 records.
When user
click "Next Page", which trigger the same cgi, but for this time,
instead of
querying database again, I just check the global array, and show the
21-40 records.
Hope this time, it is cle
d*t
发帖数: 28
39
来自主题: BuildingWeb版 - Help on View DB talbe using Perl CGI
This is not the way to implement next/prev pages for CGI programs.
The server is stateless, meaning that the data will be gone after
you serve the first request, unless you store it in some persistent
storage such as database, file or shared memory.
Come on, mysql is fast in doing simple queries and it has a syntax
that allows you to fetch certain number of rows which is specifically
designed for implementing next/prev pages.
z*q
发帖数: 29
40
来自主题: BuildingWeb版 - Help on View DB talbe using Perl CGI
Really? So I can fetch row 21-40 directly in SQL? Could you tell me how to
write it? Thanks!
d*t
发帖数: 28
41
来自主题: BuildingWeb版 - Help on View DB talbe using Perl CGI
Yeah. Search for keyword LIMIT in MySQL help document.
e.g. SELECT * FROM table1 LIMIT 20,20
s***n
发帖数: 9499
42
You're right,!
If a = 2,
it's a hypersphere.And there are analytical expression for this problem:)
If a = 1,
it's a polyhedral, and the analytical solution is also easy.
But if a != 1 or 2, does it has analytical solution or a talbe about it?
I think it is a classic problem, but can't find it via google, mathworld, etc.
any keyword about the problem is highly appreciated:)
w*g
发帖数: 413
43
other talbes have foreign key referrence to some attribute of this table. So if
I just use delete from...,I will get a msg like this:
ORA-02292: integrity constraint (WGUAN.SYS_C0061954) violated - child
record found
I tried to drop the foreign key in those tables using:
DROP FOREIGN KEY (***) REFENERRENCES tablename (**)
error msg:
ORA-00905: missing keyword
What should I do? Thanks.
d*o
发帖数: 108
44
来自主题: Database版 - simple access question
I have a data file with numbers in a access table (i am using office 2000)
I want to export it to an text file. It works fine. the only problem
is that the data in text files have only 2 decimal points, while
the original talbe have 9 decimal points therefore, a big loss
of accuracy. How can I do it so that I can have all 9 decimal points
in the exported file? (the advance option in export specification
seems no mention of number format.)
z*d
发帖数: 2
45
来自主题: Database版 - Auto number in Oracle 8???

sure, you can use Sequence in oracle.
like in talbe DBA_SEQUENCES.
use create sequence ......
see its help.
l*****k
发帖数: 587
46
来自主题: Database版 - 有没有必要考一个ORACLE证?
can you recommend some good book in database?
I mange and designed an oracle database (around 30 talbes)
and set up a web interface
for it (query only though). However, I still think I am very
awkward with oracle and sql... would like to learn more...
b****r
发帖数: 113
47
来自主题: Database版 - how to find duplicates in mysql
In this talbe, each line is in this format:
ID, Name
1, abc
2,de
3,abc -------duplicate
4,de -------duplicate
5,gg
.
.
.
ID is the primary key. How to find and delete any possilbe duplicates of
"Name"? Thanks in advance.
s******r
发帖数: 1524
48
来自主题: Database版 - A sql question
I checked my tables. There should be no Null values. Actually 2nd talbe has
more records than 1st one.

all
y****9
发帖数: 144
49
来自主题: Database版 - Doubts about clustered index
I have read "As a rule of thumb, every table should have a clustered index"
(see http://www.sql-server-performance.com/2007/clustered-indexes/ )
Isn't this a really general rule? Do your production database tables follow
this?
If I understand correctly, this feature corresponds to "Index organized
table" (IOT) in Oracle, generally IOT could be good for look up talbe in
Oracle.
But I have never seen similiar recommendation in Oracle. Interested in
knowing why or whether it is really good to have ... 阅读全帖
1 (共1页)