Redian新闻
>
帮忙看看申请Eb1a又没有希望,多谢多谢
avatar
帮忙看看申请Eb1a又没有希望,多谢多谢# Immigration - 落地生根
f*9
1
感觉挂了。
coding都是常见题。感谢国人面试官。
有一个lc上没有,Printing a Binary Tree top-down (column wise)。
design让设计uber backend。
感觉design应该挂了。
lc没有的那个题也折腾了半天,一度纠结在错误的设计,没来得及coding。
还是经验不足,有个不错的想法赶快coding是王道。
design面我的貌似是个大神啊:
https://www.facebook.com/video/video.php?v=432864835468
avatar
y*e
2
接到邮件说一年没用过了,在不用就给关账户。
请教留着蓝鸟还有什么用么?
avatar
a*8
3
20篇英文Journal,9篇1作,影响因子一般,但杂志在业内算比较好的。
30篇会议摘要,20篇1作,这20篇在不同的会议上都讲过报告。
8篇conference proceedings
得过5个小奖
现在在攒review,只有十几个。
现在正办H1b呢,可能得半年吧,准备拿到后马上开始申请绿卡。
大家帮忙看看申请Eb1a有戏吗?现在还需要准备些什么?
新手,多谢多谢!
avatar
b*i
4
请问第一个题是不是说如果有个binary tree
1
2 3
4 5 6 7
就print 4,2,5,1,3,6,7 ? 还是怎么着

【在 f****9 的大作中提到】
: 感觉挂了。
: coding都是常见题。感谢国人面试官。
: 有一个lc上没有,Printing a Binary Tree top-down (column wise)。
: design让设计uber backend。
: 感觉design应该挂了。
: lc没有的那个题也折腾了半天,一度纠结在错误的设计,没来得及coding。
: 还是经验不足,有个不错的想法赶快coding是王道。
: design面我的貌似是个大神啊:
: https://www.facebook.com/video/video.php?v=432864835468

avatar
t*t
5
半年前还可以load

【在 y*******e 的大作中提到】
: 接到邮件说一年没用过了,在不用就给关账户。
: 请教留着蓝鸟还有什么用么?

avatar
S*r
6
Citation?
Get some more reviews it will be a strong case.
avatar
m*o
7
这个题用一个TreeMap就搞定了
avatar
s*n
8
我也收到这份email了。
之前老早收到一封email要我关卡。我自己没关。
现在收到这封email,是不是说明这卡还可以去walmart load?

【在 y*******e 的大作中提到】
: 接到邮件说一年没用过了,在不用就给关账户。
: 请教留着蓝鸟还有什么用么?

avatar
q*k
9
找引用你文章的作者要推荐信。

【在 a*****8 的大作中提到】
: 20篇英文Journal,9篇1作,影响因子一般,但杂志在业内算比较好的。
: 30篇会议摘要,20篇1作,这20篇在不同的会议上都讲过报告。
: 8篇conference proceedings
: 得过5个小奖
: 现在在攒review,只有十几个。
: 现在正办H1b呢,可能得半年吧,准备拿到后马上开始申请绿卡。
: 大家帮忙看看申请Eb1a有戏吗?现在还需要准备些什么?
: 新手,多谢多谢!

avatar
I*s
10
Inorder traversal, 遇到叶节点(左右子树都为空)的时候打印?
avatar
z*8
11
最近一直在load,2000-4000不等,不敢往5000$的枪口上去撞了
avatar
h*l
12
差不多了,开始行动吧
avatar
p*g
14
可以load, 今天刚去
avatar
y*n
15
看好。
avatar
I*s
16
代码如下:
#include
#include
using namespace std;
struct Node {
int val;
Node * left;
Node * right;
Node(int v): val(v), left(NULL), right(NULL) {}
};
void output(stack s) {
if (s.empty()) return;
int tmp = s.top();
s.pop();
output(s);
cout << tmp << " ";
}
void printT(Node * n, stack & s) {
if (n == NULL) return;
s.push(n->val);
if (n->left == NULL && n->right == NULL) {
output(s);
cout << endl;
} else {
printT(n->left, s);
printT(n->right, s);
}
s.pop();
}
int main() {
Node * root = new Node(1);
root->left = new Node(2);
root->left->left = new Node(4);
root->left->right = new Node(5);
root->right = new Node(3);
root->right->left = new Node(6);
root->right->right = new Node(7);
stack s;
printT(root, s);
return 0;
}
输出:
1 2 4
1 2 5
1 3 6
1 3 7
avatar
g*y
17
没被关的都可以load吧,就是atm机都换了,只能去小二那排队

【在 s**n 的大作中提到】
: 我也收到这份email了。
: 之前老早收到一封email要我关卡。我自己没关。
: 现在收到这封email,是不是说明这卡还可以去walmart load?

avatar
d*y
18
没有专业,没有真相
avatar
f*9
19
不是这个意思。
google Printing a Binary Tree top-down (column wise)看看。

【在 I**********s 的大作中提到】
: 代码如下:
: #include
: #include
: using namespace std;
: struct Node {
: int val;
: Node * left;
: Node * right;
: Node(int v): val(v), left(NULL), right(NULL) {}
: };

avatar
t*t
20
我可能就因为满5000被砍了,因小失大呀

【在 z******8 的大作中提到】
: 最近一直在load,2000-4000不等,不敢往5000$的枪口上去撞了
avatar
d*n
21
EB1A不一定要等拿到H1B吧

【在 a*****8 的大作中提到】
: 20篇英文Journal,9篇1作,影响因子一般,但杂志在业内算比较好的。
: 30篇会议摘要,20篇1作,这20篇在不同的会议上都讲过报告。
: 8篇conference proceedings
: 得过5个小奖
: 现在在攒review,只有十几个。
: 现在正办H1b呢,可能得半年吧,准备拿到后马上开始申请绿卡。
: 大家帮忙看看申请Eb1a有戏吗?现在还需要准备些什么?
: 新手,多谢多谢!

avatar
I*s
22
哦, 这样啊. 下面应该可以.
/**
* Printing a Binary Tree top-down (column wise). See:
* http://codereview.stackexchange.com/questions/36799/printing-a-binary-tree-top-down-column-wise
* E.g., We have a binary tree, suppose like this:
*
* 8
* / \
* 6 10
* / \ / \
* 4 7 9 12
* / \
* 3 5
* Output should be:
* 3
* 4
* 6 5
* 8 7 9
* 10
* 12
*/
#include
#include
#include
using namespace std;
struct Node {
int val;
Node * left;
Node * right;
Node(int v): val(v), left(NULL), right(NULL) {}
};
void printT(Node * n, map > & m, int col, int &mi, int &ma)
{
if (n == NULL) return;
m[col].push_back(n->val);
mi = min(mi, col);
ma = max(ma, col);
printT(n->left, m, col - 1, mi, ma);
printT(n->right, m, col + 1, mi, ma);
}
void output(map > & m, int mi, int ma) {
for (int i = mi; i <= ma; ++ i) {
for (int j = 0; j < m[i].size(); ++ j) {
cout << m[i][j] << " ";
}
cout << endl;
}
}
void test() {
Node * root = new Node(8);
root->left = new Node(6);
root->left->left = new Node(4);
root->left->right = new Node(7);
root->left->left->left = new Node(3);
root->left->left->right = new Node(5);
root->right = new Node(10);
root->right->left = new Node(9);
root->right->right = new Node(12);
map > m;
int mi = 0, ma = 0, col = 0;
printT(root, m, col, mi, ma);
output(m, mi, ma);
}
int main() {
test();
return 0;
}

【在 f****9 的大作中提到】
: 不是这个意思。
: google Printing a Binary Tree top-down (column wise)看看。

avatar
t*5
23
和5000关系不大,关键是看下一波砍刀什么时候落下

【在 t****t 的大作中提到】
: 我可能就因为满5000被砍了,因小失大呀
avatar
M*1
24
Need some review experience and who will provide those Ref. Letters
avatar
k*s
25
用HashMap,最后返回最小column和最大column,效率还更高吧。

【在 m******o 的大作中提到】
: 这个题用一个TreeMap就搞定了
avatar
y*e
26
如果用gift card小二有理由不给load么?
如果用debit card 是不是肯定没问题?
avatar
t*1
27
good enough
avatar
b*i
28
搞C++的不懂TreeMap

【在 m******o 的大作中提到】
: 这个题用一个TreeMap就搞定了
avatar
d*h
29
包子问
啥卡还可以load?
香草500的visa行吗

【在 z******8 的大作中提到】
: 最近一直在load,2000-4000不等,不敢往5000$的枪口上去撞了
avatar
a*8
30
多谢大家鼓励,我学的是animal science,文章不是很难发。没太多技术含量。
每年固定开两个会,每次都会给报告,主要讲自己实验内容,所以有不少摘要。
引用还不是太多,大概50多,主要是他引。
最近准备开始攒点review,再找找人给写点推荐信。
希望能尽快开始申请。
avatar
d*m
31
bless!
avatar
z*8
32
Meta bank的VGC;US Bank的VGC,这两个是肯定没问题的;Simon的卡据说也没问题,
但是从来没用过,不过评价。
US Bank的MCGC需要用cancel 大发
香草只能load 49.99$。。。

【在 d*******h 的大作中提到】
: 包子问
: 啥卡还可以load?
: 香草500的visa行吗

avatar
d*n
33
加油吧!
Bless!

【在 a*****8 的大作中提到】
: 多谢大家鼓励,我学的是animal science,文章不是很难发。没太多技术含量。
: 每年固定开两个会,每次都会给报告,主要讲自己实验内容,所以有不少摘要。
: 引用还不是太多,大概50多,主要是他引。
: 最近准备开始攒点review,再找找人给写点推荐信。
: 希望能尽快开始申请。

avatar
o*c
34
楼主几轮?是phd么

【在 f****9 的大作中提到】
: 感觉挂了。
: coding都是常见题。感谢国人面试官。
: 有一个lc上没有,Printing a Binary Tree top-down (column wise)。
: design让设计uber backend。
: 感觉design应该挂了。
: lc没有的那个题也折腾了半天,一度纠结在错误的设计,没来得及coding。
: 还是经验不足,有个不错的想法赶快coding是王道。
: design面我的貌似是个大神啊:
: https://www.facebook.com/video/video.php?v=432864835468

avatar
z*8
35
恩,这个真分小二。
我去同一家店,一个大妈非得看我的card是不是有我名字的debit card,看到我是GC就
收经理发话不让load;换一个时间同一家店,另外一个年轻小二,特别豪爽,连问都不
问,直接刷。

【在 y*******e 的大作中提到】
: 如果用gift card小二有理由不给load么?
: 如果用debit card 是不是肯定没问题?

avatar
s*t
36
citation不高就多攒攒审稿,现在可以开始准备了,不一定需要等到H1批准后再提交。
avatar
h*d
37
用preorder的话 不能保证打印col时是从上往下的 比如给5加个right child就看出来了
我的c++代码 用BFS:
void printBT_BFS(TreeNode *root, map > &hash, int &mincol,
int &maxcol)
{
if(root==NULL) return;
queue > q; //store the node pointer and the column
q.push(pair(root, 0));
while(!q.empty())
{
pair item = q.front();
q.pop();
TreeNode *node = item.first;
int col = item.second;
hash[col].push_back(node->val);
mincol = min(mincol, col);
maxcol = max(maxcol, col);
if(node->left!=NULL) q.push(pair(node->left, col-1)
);
if(node->right!=NULL) q.push(pair(node->right, col+
1));

}
}
void print(map > &hash, int mincol, int maxcol)
{
for(int i=mincol;i<=maxcol;i++)
{
for(int j=0;j{
cout<}
cout<}
}

【在 I**********s 的大作中提到】
: 哦, 这样啊. 下面应该可以.
: /**
: * Printing a Binary Tree top-down (column wise). See:
: * http://codereview.stackexchange.com/questions/36799/printing-a-binary-tree-top-down-column-wise
: * E.g., We have a binary tree, suppose like this:
: *
: * 8
: * / \
: * 6 10
: * / \ / \

avatar
y*e
38
请问一次最多可以load多少钱?
avatar
y*e
40
曾经收到过“Termination Of Funds Loading Capabilities”的邮件,不过一直没关
卡,之后就没再试过了,请问有人收到这个邮件还去load成功过吗
avatar
d*v
41
这题是最近高频题

【在 f****9 的大作中提到】
: 感觉挂了。
: coding都是常见题。感谢国人面试官。
: 有一个lc上没有,Printing a Binary Tree top-down (column wise)。
: design让设计uber backend。
: 感觉design应该挂了。
: lc没有的那个题也折腾了半天,一度纠结在错误的设计,没来得及coding。
: 还是经验不足,有个不错的想法赶快coding是王道。
: design面我的貌似是个大神啊:
: https://www.facebook.com/video/video.php?v=432864835468

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