由买买提看人间百态

topics

全部话题 - 话题: row
首页 上页 1 2 3 4 5 6 7 8 9 10 (共10页)
w*******y
发帖数: 60932
1
Newegg
Video Game Pre-orders
Batman: Arkham City $47.99
Xbox 360 use code EMCKBHG95
PS3 use code EMCKBHG96
Assassin's Creed: Revelations $47.99
Xbox 360 use code EMCKBHG92
PS3 use code EMCKBHG93
Saints Row The Third $47.99
Xbox 360 use code EMCKBHG88
PS3 use code EMCKBHG89
free shipping
w*******y
发帖数: 60932
2
来自主题: _DealGroup版 - 【$】Saints Row the Third $48 Pre order
Saints Row the Third $48
Promo Code EMCYTZT789
Link:
http://www.newegg.com/Product/Product.aspx?Item=N82E16874169071
w*******y
发帖数: 60932
3
Kmart:
http://gamer.kmart.com/2011/11/save-game-16/
will host a Buy 1 get 1 50% off select games on the week of 11-13/11-19.
Buy 1 of these selected games, get 1 of these selected games at 50% off in
the same purchase:
Modern Warfare 3 - $59.99
Elder Scrolls V: Skyrim - $59.99
Saint's Row: The Third - $59.99
Assassin's Creed: Revelations - $59.99
Rayman Origins - $59.99
Need for Speed: The Run - $59.99
Halo Anniversary - $39.99
* 50% discount applied to the lessor or equal value out of the two... 阅读全帖
w*******y
发帖数: 60932
4
Link:
http://www.bestbuy.com/site/searchpage.jsp?_dyncharset=ISO-8859 row&sc=Global&cp=1&nrp=15&sp=&qp=&list=n&iht=y&usc=All Categories&ks=960
I believe this is as cheap as it has been. Part of buy 2 get 1 free (also
the platinum edition)
w*******y
发帖数: 60932
5
BEST BUY WEEKLY AD
Prices and offers good December 25 - 31, 2011
Good deals on video games:
Saints Row: The Third - $34.99 (PS3/XBOX360/PC)
Battlefield 3 - $39.99 (PS3/XBOX360)
Assassin's Creed: Revelations - $29.99 (PS3/XBOX360/WII)
Just Dance 3: Best Buy Exclusive Katy Perry Edition - $29.99 (PS3/XBOX360/
WII)
Halo: Combat Evolved Anniversary - $29.99 (XBOX360)
The Legend of Zelda: Skyward Sword - $39.99 (WII)
Dead Island - $29.99 (PS3/XBOX360)
Rayman Origins - $39.99 (PS3/XBOX360/WII)
and muc... 阅读全帖
w*******y
发帖数: 60932
6
You can get Saints Row The Third for 14.99 GBP on THQ's UK Store (50% off).
This translates to about $24 at current exchange rates, and includes the
Genki pre-order pack and a Season DLC pack. You'll get 3 serials that
activate on Steam.
Great deal for an awesome game.
Link:
http://store.thq.com/store/thq/en_GB/home
Expires at 12/24/2011 23:59 UK time. Site will complain about US addresses
when paying by credit card, but Paypal works great.
w*******y
发帖数: 60932
w*******y
发帖数: 60932
8
Saints Row The Third dropped to $34.99 with free shipping.
Linky Link:
http://www.amazon.com/gp/product/B004QEV0MI/ref=ox_sc_act_title
w*******y
发帖数: 60932
w*******y
发帖数: 60932
10
This is my first deal so be gentle!
The THQ Store has Saints Rown the Third on sale for $29.99 including
Professor Genki's Hyper Ordinary Pre-Order Pack and the Season Pass that
includes the Nyte Blayde DLC pack and three mission packs (normally 19.99 $)
. You may have to pay tax also.
Link:
http://store.thq.com/store/thq/en_US/pd/Saints-Row-The-Third/pr
w*******y
发帖数: 60932
11
Didn't see this posted anywhere. Amazon will be having the following PC
Digital Download games starting on February 23.
Darkness II:
http://www.amazon.com/dp/B006JA7EWW
- $24.99
Payday: The Heist:
http://www.amazon.com/dp/B005QF1OSG
: $4.99
Saint's Row The Third:
http://www.amazon.com/dp/B005OMM66A
: $24.99
Warhammer 40K Space Marine:
http://www.amazon.com/Warhammer-40-000-Marine-Download/dp/B005I
: $14.99
Red Faction Armageddon:
http://www.amazon.com/exec/obidos/ASIN/B0052YFO2S
: $4.99
Mirror... 阅读全帖
w*******y
发帖数: 60932
12
Toysrus has Saints Row the Third: Platinum Pack for PS3(the limited edition
with headphones) for $9.95. Shipping for me was around $5.
Link: Link:
http://www.toysrus.com/product/index.jsp?productId=12383637
Online only. Hurry!
e**o
发帖数: 3389
13
来自主题: _FantaBaseball版 - if I win 3 weeks in a row
how about 1 week in a row..
b*****e
发帖数: 819
14
来自主题: _Bimmer版 - does 05 X5 has 3rd row option?
yes for 07+, but for X5 with 3rd, you do not have the spare tire. and the
3rd row is not for adults
p*********e
发帖数: 32207
15
来自主题: _Bimmer版 - does 05 X5 has 3rd row option?
it seems even you don't choose 3rd row option, you still have the rft,
am i wrong?
f**d
发帖数: 768
16
来自主题: Neuroscience版 - eBook: From computer to brain
这是一本计算神经科学的优秀著作,全文拷贝这里(图和公式缺),有兴趣的同学可以
阅读
如需要,我可以分享PDF文件(--仅供个人学习,无商业用途)
From Computer to Brain
William W. Lytton
From Computer to Brain
Foundations of Computational Neuroscience
Springer
William W. Lytton, M.D.
Associate Professor, State University of New York, Downstato, Brooklyn, NY
Visiting Associate Professor, University of Wisconsin, Madison
Visiting Associate Professor, Polytechnic University, Brooklyn, NY
Staff Neurologist., Kings County Hospital, Brooklyn, NY
In From Computer to Brain: ... 阅读全帖
h******n
发帖数: 3989
17
来自主题: ebiz版 - 中招了
my card information is leaked by target.
Tag row 12FOREIGN TRANSACTION FEE 12/28/2013
Expand row 12
12/28/2013 Sat FOREIGN TRANSACTION FEE
0.55
Tag row 13FOREIGN TRANSACTION FEE 12/28/2013
Expand row 13
12/28/2013 Sat FOREIGN TRANSACTION FEE
0.56
Tag row 14FOREIGN TRANSACTION FEE 12/28/2013
Expand row 14
12/28/2013 Sat FOREIGN TRANSACTION FEE
1.07
Tag row 15FOREIGN TRANSACTION FEE 12/28/2013
Expand row 15
12/28/2013 Sat FOREIGN TRANSACTION ... 阅读全帖
s******t
发帖数: 1956
18
三排座SUV的宽敞程度,光靠看是感觉不准的,还是数据说话最核心,然后再加自己的
感觉。
先搬出本版神车Minivan Odyssey的Cargo尺寸 :
2015 Honda Odyssey - 148.5 cubic feet overall, 93.1 third row folded, 38.4
cubic feet third row deployed
Ok, 记住上面的数据,大SUV中不会有比Odyssey更宽敞的。所以仅图宽敞的人,直接
就上Minivan吧,下面不用看了。但如果你,和我一样,觉得Minivan太大妈气,或有其
他考虑,钟情于SUV,那你就往下看,常见2015年大SUV的尺寸。
1) Ford Expediation EL – 130.8 cubic feet overall, 85.5 third row folded,
42.6 cubic feet third row deployed.
2) Lincoln Navigator L – 128.8 cubic feet overall, 86.3 third row folded,
42.6 cub... 阅读全帖
s********u
发帖数: 1109
19
来自主题: JobHunting版 - Google第一轮面经
Phone interview,美国人,说话很清楚。不过太健谈了,导致他每次描述问题,说一
大堆,还各种打比方,要搞清楚whole picture真是太费劲了。。
不过人比较nice,希望好运吧。
1.他说warm up一下,说了一大堆,我才搞明白他的意思是,电影里经常有人拿报纸剪
下很多字母,然后拼成一句话去给别人发威胁message之类。(他一上来就说kidnap小
女孩之类,把我吓坏了,以为要写个绑匪和cops的design题。。。。)
然后让我实现一个function,看看能不能拼成一个message。
因为时间过了挺久,我就有点着急,赶紧写了一个hashtable的方法。然后他问我如果
这个message有重复单词怎么办,我才发现自己的bug(只是考虑newspaper里有没有这
个字母,而没有考虑字母的数量),改了一下。
bool compose( string msg, string newspaper){
unordered_map ccnt;
for(auto it = newspaper.begin(); it != newspa... 阅读全帖
a******e
发帖数: 710
20
来自主题: JobHunting版 - Google第一轮面经
2.他说他也是听说来的这道题,又是讨论描述了N久才搞明白,还跟我扯你知道为啥美
国分成这48个州么。。。比如给一个矩阵
1 2 2 3 (5)
3 2 3 (4) (4)
2 4 (5) 3 1 Atlantic
(6) (7) 1 4 5
(5) 1 1 2 4
#####请问括号里面的数字是什么意思?
每个数字代表该地区的海拔,然后西边是太平洋,东边是大西洋,让我返回所有path,
每个path能连通大西洋和太平洋,水只能从高处往低处走。
我到最后才发现他这个例子好像有点不对(他说他也不是很清楚,别人给他的。。汗)
,我觉得真正的意思应该是水流是单向的,否则岂不是随便怎么走都能连通??
#####若问这里提到的backtracking和recursion有何不同? 我一直不太了解
backtracking
我就用backtracking的方法,有点类似boggle game那题,从西海岸的点出发,往8个方
向走,如果没超出边界或者没用过,就走下去,直到到达东海岸,把这个路径存下来。
电面结束我才发现我有个bug,就是说,到达东海岸的时候不应该return,... 阅读全帖
s********u
发帖数: 1109
21
来自主题: JobHunting版 - Google第一轮面经
Phone interview,美国人,说话很清楚。不过太健谈了,导致他每次描述问题,说一
大堆,还各种打比方,要搞清楚whole picture真是太费劲了。。
不过人比较nice,希望好运吧。
1.他说warm up一下,说了一大堆,我才搞明白他的意思是,电影里经常有人拿报纸剪
下很多字母,然后拼成一句话去给别人发威胁message之类。(他一上来就说kidnap小
女孩之类,把我吓坏了,以为要写个绑匪和cops的design题。。。。)
然后让我实现一个function,看看能不能拼成一个message。
因为时间过了挺久,我就有点着急,赶紧写了一个hashtable的方法。然后他问我如果
这个message有重复单词怎么办,我才发现自己的bug(只是考虑newspaper里有没有这
个字母,而没有考虑字母的数量),改了一下。
bool compose( string msg, string newspaper){
unordered_map ccnt;
for(auto it = newspaper.begin(); it != newspa... 阅读全帖
a******e
发帖数: 710
22
来自主题: JobHunting版 - Google第一轮面经
2.他说他也是听说来的这道题,又是讨论描述了N久才搞明白,还跟我扯你知道为啥美
国分成这48个州么。。。比如给一个矩阵
1 2 2 3 (5)
3 2 3 (4) (4)
2 4 (5) 3 1 Atlantic
(6) (7) 1 4 5
(5) 1 1 2 4
#####请问括号里面的数字是什么意思?
每个数字代表该地区的海拔,然后西边是太平洋,东边是大西洋,让我返回所有path,
每个path能连通大西洋和太平洋,水只能从高处往低处走。
我到最后才发现他这个例子好像有点不对(他说他也不是很清楚,别人给他的。。汗)
,我觉得真正的意思应该是水流是单向的,否则岂不是随便怎么走都能连通??
#####若问这里提到的backtracking和recursion有何不同? 我一直不太了解
backtracking
我就用backtracking的方法,有点类似boggle game那题,从西海岸的点出发,往8个方
向走,如果没超出边界或者没用过,就走下去,直到到达东海岸,把这个路径存下来。
电面结束我才发现我有个bug,就是说,到达东海岸的时候不应该return,... 阅读全帖
l*******s
发帖数: 7316
23
来自主题: Joke版 - 听儿歌听出的疑惑 (转载)
Row, row, row your boat
Gently down the stream,
Merrily merrily, merrily, merrily
Life is but a dream
Row, row, row your boat
Gently down the brook,
If you catch a little fish
Please let it off the hook
Row, row, row your boat
Gently down the creek,
If you see a little mouse
Listen to it squeak
Row, row, row your boat
Gently down the river,
If the river gets you wet
Don't forget to shiver
Row, row, row the boat
Gently to the shore,
If you see a lyin' bear
Don't forget to roar
Row, row, row your ... 阅读全帖
d****n
发帖数: 1637
24
来自主题: Programming版 - In C++, how to do matrix computation?
okay,没代码没真相。
here is my shabby codes and I want to share with you all.
output and analysis will be post soon
//file name matrix_op.c
#include
#include
#include
#include
#include
#include
#define _MX_INIT(type_t, row, col) ({ int i;\
type_t ** ret;\
ret=(type_t ** )malloc( row *sizeof(type_t*));\
for(i=0;i (ret);\
})
#defin... 阅读全帖
k*******3
发帖数: 1909
25
来自主题: Programming版 - 请教C++程序中的Maze().exitMaze();
下面这个程序来自Data structures and algorithms in C++ by Adam Drozdek
第四章的迷宫(maze)程序。
我的疑问是最后几行main函数里面的Maze().exitMaze();怎么解释,我想不通语法是怎
么样的。
Maze()是调用哪个函数呢?如果是Maze class的Maze() constructor,难道不用先定义
一个Maze 对象吗?
谢谢。
#include
#include
#include
using namespace std;
template
class Stack : public stack {
public:
T pop() {
T tmp = top();
stack::pop();
return tmp;
}
};
class Cell {
public:
Cell(int i = 0, int j = 0) {
x = i; y... 阅读全帖
t******e
发帖数: 98
26
来自主题: JobHunting版 - 要去面试了
这是我当年考过的面试题,可以负责的告诉你这题面试中不会再考到了,不过拿来练
coding还是很好的,topcoder上面也考过类似的问题。解法如下:
Let the input matrix be x[n][n]. The idea is to calculate two auxiliary
matrices a[n][n], where a[i][j] records the length of the all 1 horizontal
edge to the right of a[i][j], and b[n][n], where b[i][j] records the length
of the all 1 vertical edge above a[i][j]. Then the size of the largest all 1
boundary sub-square whose left bottom corner is a[i][j] is t = max{0≤t≤
min(a[i][j], b[i][j])|a[i-t+1][j]≥t and b[i][j+t-1]≥t... 阅读全帖
o******3
发帖数: 91
27
来自主题: JobHunting版 - 求问hackerrank的lego blocks题
听了二爷的话,开始做hackerrank
今天被lego blocks绊住了
测试数据集可以过 但是提交数据集就超时了 虽然我用的确实是DP
下面是题目和我的代码,还望指点
You have 4 types of lego blocks, of sizes 1 * 1 * 1, 1 * 1 * 2, 1 * 1 * 3
and 1 * 1 * 4. Assume you have infinite number of blocks of each type.
You want to make a wall of height N and width M out of these blocks. The
wall should not have any holes in it. The wall you build should be one solid
structure. A solid structure means that it should not be possible to
separate the wall along any vertical line withou... 阅读全帖
s*****m
发帖数: 2024
28
☆─────────────────────────────────────☆
Macrosoft (无) 于 (Sat May 21 00:18:13 2011, 美东) 提到:
这个CASE搞成了,就成了全世界人民大团结万岁.
首先,明白一个道理,他们这个CASE,不是说取消EB各类别来个总排队.他们说的是 1)先
在各个类别里打破7%的限制,进而再 2)在总EB里打破这个限制.
这个道理很明显.不会是象有些同学想象的那样,一开始就要打破类别来统排.如果那样,
EB2I不会同意-相信俺,他们绝对没有那么高尚,IV的领导者们绝对不会那么高瞻远瞩到
那个地步-为民族的利益去平息暂时的纷争.
其次,明白一个事实:这第2)点已经是不争的事实了.俺想,这个没有人会反对.
好了,那这个CASE的目的是什么?就是要把第1)点搞定.明白了以上两点,你再来分析.这
对EBC好不好? 好,大大的好.
先看EB2,最新DEMAND数据表明,截止到2008年1月,EB2C+EB2I总共有29425个待批.如果,
如果这个CASE今年底搞成(假设哦,不要喷俺),从明年开始实行,意味着什么?EB2类... 阅读全帖
l******6
发帖数: 340
29
来自主题: JobHunting版 - 问一道题
问一道题~
2D knapsack
class rect{
public:
int width;
int height;
int area;
};
input: vector source , int canvasWidth , int canvasHeight
no overlap allowed , no rotate allowed, each rect int source and be used as
many times as
possible (area = width * height , setting area as another val will be a
similar problem)
compute the max coverage of canvas using the rects int the source
a dp solution
maxCover[row][col] = max (maxCover[subRow][col] + maxCover... 阅读全帖
b*****l
发帖数: 2903
30
来自主题: Fitness版 - 这星期开始5x5,在这纪录一下
Exercise Sets Reps 09-Nov 11-Nov
Squat 5 5 160 165
Bench Press 5 5 95
Overhead Press 5 5 60
Barbell Row 5 5 75
Deadlift 1 5 175
squat好像还不够低,大腿不够平,最后那一点如果蹲下去,可能就起不来了。近期准备再大幅deload,动作一定要到位。我练squat屁股不痛可能就是因为蹲的不够低。另外这几项不能同时到平台,否则就回互相影响。
------------------------------------------------------------
Exercise Sets Reps... 阅读全帖
W***n
发帖数: 11530
31
来自主题: Automobile版 - 2017 Chrysler Pacifica
Full Expert Review: 2017 Chrysler Pacifica
What's New for 2017
The 2017 Chrysler Pacifica is an all-new minivan. In effect, though, it's
the replacement for the previous Town & Country minivan, which Chrysler has
discontinued.
Introduction
If you've either been a passenger in or owned a steady flow of Honda
Odysseys and Toyota Siennas throughout your life, you are forgiven for
thinking that Chrysler minivans have largely existed in a state of perpetual
rental fleet mediocrity. While Chrysler was... 阅读全帖
d********m
发帖数: 101
32
思路是从4个边界分别检测,如果是O就替换为T。最后在整体遍历一次,把O的改为X,T
改为O。
过不去的那个test case超级长,自己测不了。麻烦各位大侠给看看代码。
谢谢先~
class Solution {
public:
void turn (int row, int col, vector> &board) {
if (row < 0 || row >= board.size() || col < 0 || col >= board[0].
size() || board[row][col] != 'O' ) {
return;
}

board[row][col] = 'T';
turn(row + 1, col, board);
turn(row - 1, col, board);
turn(row, col + 1, board);
turn(row, col - 1, board);
... 阅读全帖
m*******l
发帖数: 12782
33
☆─────────────────────────────────────☆
NYssgg (ssgg) 于 (Sun Mar 25 00:29:04 2012, 美东) 提到:
本来还说EB-5可能有不少剩余,给EB-1,EB-1再剩给EB-2,刚看到联合网新闻,今年EB
-5数量激增,Q1已经批了2364,全年10000个EB-5很可能用完,没有剩余了。
http://udn.com/NEWS/WORLD/WOR6/6983365.shtml
http://www.uscis.gov/USCIS/Outreach/Notes%20from%20Previous%20E
如果EB-5没有剩余,EB-1按照前两年都超4万的用量,中印EB-1 也要有排期了。
☆─────────────────────────────────────☆
ardorbird (独自徘徊在天堂与地狱之间) 于 (Sun Mar 25 00:33:11 2012, 美东) 提到:

如果是真的,隔壁岂不是要炸窝了。
☆───────────────────────────────────... 阅读全帖
l*******s
发帖数: 7316
34
来自主题: Joke版 - 听儿歌听出的疑惑 (转载)
Row row row your boat
Gently down the stream
Merrily merrily merrily
Life is but a dream
Row row row your boat
Gently down the stream
If you see a crocodile
Don’t forget to scream
Row row row your boat
Gently down the stream
You might see a great big lion
Eating his green beans
Row row row your boat
Gently down the stream
If you see an elephant
Is he wearing jeans?
Row row row your boat
Gently down the stream
Can you see the hidden frogs
They are very green
Row row row your boat
Gently down the ... 阅读全帖
i**********e
发帖数: 1145
35
来自主题: JobHunting版 - 新鲜onsite面经
我写的 boggle 游戏算法,DFS + trie.
一秒以内给出所有 5x5 的答案。
#include
#include
#include
#include
#include
#include
#include
using namespace std;
struct Trie {
bool end;
Trie *children[26];
Trie() {
end = false;
memset(children, NULL, sizeof(children));
}
void insert(const char *word) {
const char *s = word;
Trie *p = this;
while (*s) {
int j = *s-'A';
assert(0 <= j && j < 26);
if (!p->childre... 阅读全帖
C***U
发帖数: 2406
36
int checkEditDistanceFast(const char *pattern, int pLen, const char* text,
int tLen, int editD) {
//if the edit distance is larger than the length difference, then return
false
if(editD < abs(pLen - tLen)) {
return MAX;
}
else {
//compute the number of diagonals requiring consideration
int p = (editD - abs(pLen - tLen)) / 2;
int t = tLen >= pLen ? -p : tLen - pLen - p;
int s = t + 1;
int len = abs(pLen - tLen) + 2 * p + 1;
//initialize the row
int *row = n... 阅读全帖
r*****e
发帖数: 792
37
来自主题: JobHunting版 - Set Matrix Zeroes const space solution
和下面说的思想一样,但是要注意一点,code有注释,否则所有entry都变成0了。
for (row=0; row for (col=0; col if (mat[row][col]==0) {
if (!foundZero) {
foundZero=true;
therow=row;
thecol=col;
} else {
mat[therow][col]=0;
mat[row][thecol]=0;
}
}
}
}
if (!foundZero) return;//do nothing
for (col=0; col if (mat[therow][col]==0 && col!=thecol) {//col!=thecol is meant to ... 阅读全帖
m*******l
发帖数: 12782
38
来自主题: EB23版 - [合集] 欢迎EB3批评指正
☆─────────────────────────────────────☆
Helsinki (跑步然后桑拿) 于 (Wed Nov 30 16:51:37 2011, 美东) 提到:
H.R.3012不过,中国EB3顶多不过保持现状,不会有改善。
现在那些惟恐天下不乱的、或者一定要标新立异的人号称老印如蝗虫如猛兽,H.R.3012将放虎出笼、纵蝗成灾, 充其量不过是学院派的芑人忧天。完全忘记了一千血卡相当于百分之十二的增加(用300除以2503,为什么用三百而不是一千请自己学习有关材料).
也忘记了老印主要是从ROW手里每年抢两万八千多个名额,而不是从老中手里抢两千五百个名额。老中实际上是搭了便车,这两万八千多个名额即使老印吃三十个老中才轮到吃一个,也有九百个名额了。也就是百分之三十的年增长额,加上六四血卡的取消,一年可以增长百分之四十,br />
上ROW。
问题是第一二年老印排期落后老中,所以会吃很多,但是有85%的上限,所以整个EB3的名额老印再张大嘴吃也不过能吃85%的85%,也就是73%左右。多多少少还是要漏一点给老中吃,因为两国总名额也有上限,所以老中也不能... 阅读全帖
m*********y
发帖数: 389
39
Here are some questions I copied from online.. Obviously LouZhu is a lazy
ass... these questions are everywhere... :-)
SQL Interview questions
Below is a list of questions in this blog post so you can test your
knowledge without saying answers. If you would like to see questions and
answers please scrool down.
Question: What type of joins have you used?
Question: How can you combine two tables/views together? For instance one
table contains 100 rows and the other one contains 200 rows, have exac... 阅读全帖
g**********y
发帖数: 14569
40
来自主题: JobHunting版 - careerup 150的一道经典题
这是书上的答案,它把isSquare()当成O(1)的operation.
1 public static Subsquare findSquare(int[][] matrix){
2 assert(matrix.length > 0);
3 for (int row = 0; row < matrix.length; row++){
4 assert(matrix[row].length == matrix.length);
5 }
6
7 int N = matrix.length;
8
9 int currentMaxSize = 0;
10 Subsquare sq = null;
11 int col = 0;
12
13 // Iterate through each column from left to right
14 while (N - col > currentMaxSize) { // See step 4 above
15 for (int row = 0; row < matrix.length; row++){
16 // starting from ... 阅读全帖
d******8
发帖数: 1972
41
EB2 Predictions (Rather Calculations)
http://www.qesehmk.org/forums/showthread.php?4-EB2-Predictions-
WELCOME TO Q'S IMMIGRATION BLOG
Based on the latest 2010 EB approval reports, this is the current status and
predictions for EB2.
THIS IS THE MOST PESSIMISTIC SCENARIO BEING PAINTED. SO DON'T KILL THE
MESSENGER. TRY AND UNDERSTAND THE RATIONALE BEHIND.
Acronyms
SOFAD - Spillover Fall Across and Down
SO - Spillover
FA - Fall Across
FD - Fall Down
CD - Cutoff Date
PD - Priority Date
PD阅读全帖
w***y
发帖数: 6251
42
来自主题: JobHunting版 - leetcode的N queens II
要怎么做才能不超时?
我就是按照传统的N queens写法, 但是大集合到12就超时了
public class Solution {
int res=0;
public int totalNQueens(int n) {
int[] row = new int[n];
res=0;
_solveNQueens(row,0);
return res;
}


public void _solveNQueens(int[] row, int idx){
//when it finishes the last row, output the valid result
if(idx==row.length){
res++;
return;
}

... 阅读全帖
w****x
发帖数: 2483
43
来自主题: JobHunting版 - 求分析这题的时间复杂度
careercup上的一道题:
Imagine you have a square matrix, where each cell is filled with either
black or white. Design an algorithm to find the maximum subsquare such that
all four borders are filled with black pixels.
Assumption: Square is of size NxN.
This algorithm does the following:
1. Iterate through every (full) column from left to right.
2. At each (full) column (call this currentColumn), look at the subcolumns (
from biggest to smallest).
3. At each subcolumn, see if you can form a square with ... 阅读全帖
S**I
发帖数: 15689
44
☆─────────────────────────────────────☆
gzou (gzou) 于 (Thu May 12 02:26:35 2011, 美东) 提到:
马上就要G on site了,
求祝福。
下面是从本版收集到的Google的试题,便于大家查询。
申明:有的附带有解释说明的,也来自于本版或者网络,大家自己看, 不保证真确
http://www.mitbbs.com/article_t1/JobHunting/31847453_0_1.html
本人ECE fresh PhD,背景是电路/EDA,跟G业务基本没什么关系
同学内部推荐的,很简单的一次电面就给了onsite
题都不难,但是自己没把握好机会,出了一些小bug。
总的感觉,出错就是硬伤,宁可从最简单的算法写起,也不能出错。
电面:
1,Skip list, http://en.wikipedia.org/wiki/Skip_list
写code实现struct skip_list * find(struct skip_list *head, int value)
2,sorted array... 阅读全帖
S**I
发帖数: 15689
45
☆─────────────────────────────────────☆
gzou (gzou) 于 (Thu May 12 02:26:35 2011, 美东) 提到:
马上就要G on site了,
求祝福。
下面是从本版收集到的Google的试题,便于大家查询。
申明:有的附带有解释说明的,也来自于本版或者网络,大家自己看, 不保证真确
http://www.mitbbs.com/article_t1/JobHunting/31847453_0_1.html
本人ECE fresh PhD,背景是电路/EDA,跟G业务基本没什么关系
同学内部推荐的,很简单的一次电面就给了onsite
题都不难,但是自己没把握好机会,出了一些小bug。
总的感觉,出错就是硬伤,宁可从最简单的算法写起,也不能出错。
电面:
1,Skip list, http://en.wikipedia.org/wiki/Skip_list
写code实现struct skip_list * find(struct skip_list *head, int value)
2,sorted array... 阅读全帖
w****x
发帖数: 2483
46
一直认为面试出这么难得题真是过分啊!!
================= kth element in young tablet (M+N)log(numeric range)
solution ===========
const int M = 4;
const int N = 4;
int getOrder(int A[M][N], int tg)
{
int c = 0;
int i = 0;
int j = N-1;
while (i < M && j >= 0)
{
if (A[i][j] >= tg)
j--;
else
{
c += j+1;
i++;
}
}
return c+1;
}
int getKthMin(int A[M][N], int k)
{
if (k <= 0 || k > M*N)
return INT_MIN;
int nBe... 阅读全帖
T****s
发帖数: 915
47
来自主题: JobHunting版 - 请教Leetcode 上的 Sudoku solver
用python 实现,可是不知道问题出在哪里,结果显示output 和 input 一模一样。
请教大家。
谢谢。
~~~~~~~~~~~~~~~~~
class Solution:
# @param board, a 9x9 2D array
# Solve the Sudoku by modifying the input board in-place.
# Do not return any value.
class _State:
def __init__(self, board, row, col, rowsum, colsum, blocksum):
# board --- the board at the current state
# whichRow and whichCol --- row and col indices that need to
work
on (unfilled)
# rowStat, colStat and blockStat... 阅读全帖
d*********9
发帖数: 1598
48
来自主题: NextGeneration版 - 两娃家庭有必要买MINIVAN吗?
三排坐的SUV有很多:
1. Acura MDX - Offers third row seats for a total of seven passengers
fitting in. Pricing starts at $43,280. (www.acura.com)
2. Audi Q7 - Audi SUV offers a standard third row of seats for seating up to
7. Starting price of $47,695. (models.audiusa.com)
3. BMW X5 - Only BMW SUV with a (optional) 3rd row. Starting price of $51,
575. (www.bmwusa.com)
4. Buick Enclave - Third row seating is standard in this seven-passenger or
eight-passenger SUV. Starting price of $38,445. (www.buick.com... 阅读全帖
首页 上页 1 2 3 4 5 6 7 8 9 10 (共10页)