由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - 回馈本版 众小公司面经
相关主题
被VMWARE鄙视了(面经并求comment)版上看到的几道F家的题目
Given a node of a tree, find all nodes on the same levelLinkedIn Onsite 面经
诚心请教:拿到一个startup的offer,是不是值得去。Cloudera 面经 (电面 + onsite)
coverity这个公司怎么样g面经来一个。
Amazon onsite面经两个有点难度很有意思的题
List Flattening from book MS的 on site面试,求bless
又面了一上午,M家的,大家进来做题今天的一道电面题,有点意思
一道面试题:Flatten a multilevel linked list面经
相关话题的讨论汇总
话题: design话题: given话题: value话题: machine话题: nodes
进入JobHunting版参与讨论
1 (共1页)
w***n
发帖数: 58
1
骑驴找马告一段落 从了某preipo的 在此献上 面经
这次感觉coding题都不难 主要是design 甚至flag preipo的coding题比很多小的公司
都简单 但是design更难
flag 和 preipo的面经不能放上来 主要是不敢得罪这些签了NDA的
很多题目没有正确答案 在于想法 以及tradeoff
sift science (offer):
1 given a nxn chessboard, there are only pawns (white and black) on it. Say
one side is the start and its opposite side is the end. There is one white
pawn on the start row, what are the cells that could be reached on the end
side.
2 given a binary tree, implement sibling (each nodes sibling is the next
node of the same depth). Each node has a point called sibling initialized to
null, implement a function such that all nodes' sibling pointer should have
proper value.
3. Given 1 billion data point (key, value with 15 bytes of string and 8 byte
of double value); store this in the memory that supports fast lookup.
4. Given 100 TB files, each line is a url and a timestamp. Find the top 10
urls hit in some time range. You have 100 machines.
5. Fraudulent user detection, find weakly connected component in large graph
(100k nodes, single machine). This question needs to be compiled and run on
a mac.
6. Given a string, check if it could be decomposed into substring, which is
each an element symbol. physics => P H Y Si C S
7. Given a binary search tree, find least common ancestor.
origami logic (offer):
1 Find median in 100 TB files distributed on 100 machine
2 Design talk; cycle detection in graph (small) = > million nodes on one
machine => billion nodes on multiple machine
3 Flatten dictionary {a:{b:c, e:f}, e: {a:c}, r:f} => [[a,b,c], [a,e,f], [e,
a,c], [r,f]]
4 Data cleaning technique / operator/ functional
5 game of life: one node max size of grid; make it even more scalable;
distributed solution: complexity; fault tolerance; performance, persistence
6 common substring of two strings
7 print english for number: 2 -> two; 3144 -> three thousand one hundred
forty four; 12395113 -> twelve million three hundred ninety five thousand
one hundred thirteen; my english was brutalized through this questions
chartboost (offer):
1 mapreduce join:
input A: tx_id, campaign_id (HUGE)
input B: campaign_id, country_id, campaign_type (could be big or small)
output should be: country_id, campaign_type, count
discuss how to design mr job when 1) B is very small 2) large enough, but
small enough to be on disk on one machine 3) very large (100+tb)
2 design a realtime counter
3 design a single machine database for fixed key value data (10+tb) variable
key size and variable value size (could be thousand bytes)
4 describe the component I am responsible for and what could I have done
better to design today
vessel (rej)
1) ood design + implementation an option library to support 1) short version
and long version (cmd -v and cmd --version) 2) supports boolean and string
value for options 3) customizable value
2) implement tree http://en.wikipedia.org/wiki/Tree_(Unix)
affirm (rej)
1) design a money transfer system between banks (implement venmo); need both
high level architecture and low level implementation details around data
passing and data store
2) implement a interpreter that evaluates polish notation (+ 3 4) or (- (+
4 5) 2); improve the evaluator to support variables and assignment (let a 2
(+ a 2)) should give 4, (let a 2 (+ a let b 3 (* b 3))) should give 11
3) constant memory traversal of a tree (mutable)
4) oop / system design a data ingestion system which supports multiple
ingestion protocal (ftp, SOAP, rest, streaming); go into details about
runtime and data storage.
t**r
发帖数: 3428
2
Mark

★ 发自iPhone App: ChineseWeb 8.7

【在 w***n 的大作中提到】
: 骑驴找马告一段落 从了某preipo的 在此献上 面经
: 这次感觉coding题都不难 主要是design 甚至flag preipo的coding题比很多小的公司
: 都简单 但是design更难
: flag 和 preipo的面经不能放上来 主要是不敢得罪这些签了NDA的
: 很多题目没有正确答案 在于想法 以及tradeoff
: sift science (offer):
: 1 given a nxn chessboard, there are only pawns (white and black) on it. Say
: one side is the start and its opposite side is the end. There is one white
: pawn on the start row, what are the cells that could be reached on the end
: side.

l*********u
发帖数: 19053
3
多谢分享

Say

【在 w***n 的大作中提到】
: 骑驴找马告一段落 从了某preipo的 在此献上 面经
: 这次感觉coding题都不难 主要是design 甚至flag preipo的coding题比很多小的公司
: 都简单 但是design更难
: flag 和 preipo的面经不能放上来 主要是不敢得罪这些签了NDA的
: 很多题目没有正确答案 在于想法 以及tradeoff
: sift science (offer):
: 1 given a nxn chessboard, there are only pawns (white and black) on it. Say
: one side is the start and its opposite side is the end. There is one white
: pawn on the start row, what are the cells that could be reached on the end
: side.

f****p
发帖数: 18483
4
不错!👍
l**********9
发帖数: 537
5
mark
a******e
发帖数: 5411
6
都不会。。。。
1 (共1页)
进入JobHunting版参与讨论
相关主题
面经Amazon onsite面经
一道老题目, 求最快捷解法List Flattening from book
FLG面经:如何分块pre-order遍历一棵树?又面了一上午,M家的,大家进来做题
Uber 电面一道面试题:Flatten a multilevel linked list
被VMWARE鄙视了(面经并求comment)版上看到的几道F家的题目
Given a node of a tree, find all nodes on the same levelLinkedIn Onsite 面经
诚心请教:拿到一个startup的offer,是不是值得去。Cloudera 面经 (电面 + onsite)
coverity这个公司怎么样g面经来一个。
相关话题的讨论汇总
话题: design话题: given话题: value话题: machine话题: nodes