弯曲找工失败的教训,及面筋# JobHunting - 待字闺中
b*4
1 楼
在南湾Palo Alto史坦福附近的一些小公司不靠譜,都是电话里说明早上9点前到、晚上
8点后才能离开。上周更遇到以招人为名让人编程序的,上套了。小心。
数周前电面FB,计算飞波拉切函数,最后在提示下写出O(n)的程序,就是几个变量间
swap value来节省时间。悲剧。
LinkedIn考的是求一棵树上任意两个节点的deepest common ancestor,又悲剧了。
/**
* Given two nodes of a tree,
* method should return the deepest common ancestor of those nodes.
*
* A
* /
* B C
* /
* D E
* /
* G F
*
* commonAncestor(D, F) = B
* commonAncestor(C, G) = A
* commonAncestor(E, B) = B
*/
8点后才能离开。上周更遇到以招人为名让人编程序的,上套了。小心。
数周前电面FB,计算飞波拉切函数,最后在提示下写出O(n)的程序,就是几个变量间
swap value来节省时间。悲剧。
LinkedIn考的是求一棵树上任意两个节点的deepest common ancestor,又悲剧了。
/**
* Given two nodes of a tree,
* method should return the deepest common ancestor of those nodes.
*
* A
* /
* B C
* /
* D E
* /
* G F
*
* commonAncestor(D, F) = B
* commonAncestor(C, G) = A
* commonAncestor(E, B) = B
*/