Redian新闻
>
现在google是不是都要问design题啊?
avatar
现在google是不是都要问design题啊?# JobHunting - 待字闺中
s*0
1
怎么我去年全是算法题?我面的是seattle的,是不是跟总部不一样?另外,是不是总
部的面试简单一些?
也发一个去年的g家面经吧
- 给字符串,里边是几个单词中间没空格,输出所有可能的句子。
- two sorted array, find the k-th largest number
- a variant of boggle puzzle
- given preorder of a binary tree, print all inorders
- regex
- given the statics of letter frequency, redesign the cellphone key layout s
.t. the expected number of presses is minimized.
真心觉得不容易啊。当然主要是我水平不行,挂了。
avatar
h*6
2
最后一题是说A-Z根据frequency依次平铺在[0,1]间,然后等分9份取字母?还是我理解
不对?
avatar
N*n
3
4-5轮on site面试一共问了这么几个题吗?
貌似很多都是一轮电话面试就能问其中3个。。。不过写程序的一个或者两个

s

【在 s*********0 的大作中提到】
: 怎么我去年全是算法题?我面的是seattle的,是不是跟总部不一样?另外,是不是总
: 部的面试简单一些?
: 也发一个去年的g家面经吧
: - 给字符串,里边是几个单词中间没空格,输出所有可能的句子。
: - two sorted array, find the k-th largest number
: - a variant of boggle puzzle
: - given preorder of a binary tree, print all inorders
: - regex
: - given the statics of letter frequency, redesign the cellphone key layout s
: .t. the expected number of presses is minimized.

avatar
g*y
4
同问最后一题,letter frequency和expected number of press好像没有关系。每次号
码都要按10下?(XXX-XXX-XXXX)
avatar
N*n
5
说的是字母吧

【在 g****y 的大作中提到】
: 同问最后一题,letter frequency和expected number of press好像没有关系。每次号
: 码都要按10下?(XXX-XXX-XXXX)

avatar
g*y
6
可以举个例子吗

【在 N**n 的大作中提到】
: 说的是字母吧
avatar
s*0
7
Let me explain a little. given a – z, cut them into, for example, 8 pieces,
s.t. \sum_{i=’a’}^{i=’z’} f(i) * p(i) is minimized, where f(i) is the
frequency of letter i, which is given, and p(i) is the number of presses to
reach letter i, which is determined by the division.

【在 h********6 的大作中提到】
: 最后一题是说A-Z根据frequency依次平铺在[0,1]间,然后等分9份取字母?还是我理解
: 不对?

avatar
s*0
8
直接onsite的。现在phone都这么难了? 惭愧呀。。。

【在 N**n 的大作中提到】
: 4-5轮on site面试一共问了这么几个题吗?
: 貌似很多都是一轮电话面试就能问其中3个。。。不过写程序的一个或者两个
:
: s

avatar
t*l
9
说的还是不清楚,每个键上的字母必须要连续吗,比如"aeg"是不是一个合理的键?连
续和不连续是不同的解法。

pieces,
to

【在 s*********0 的大作中提到】
: Let me explain a little. given a – z, cut them into, for example, 8 pieces,
: s.t. \sum_{i=’a’}^{i=’z’} f(i) * p(i) is minimized, where f(i) is the
: frequency of letter i, which is given, and p(i) is the number of presses to
: reach letter i, which is determined by the division.

avatar
N*n
10
我怎么觉着直接排个序,前9名放在每个键的第一的位置,需要按1次,第10到18名放在
第二的位置需要按2次,以此类推。就可以了呢

【在 t*****l 的大作中提到】
: 说的还是不清楚,每个键上的字母必须要连续吗,比如"aeg"是不是一个合理的键?连
: 续和不连续是不同的解法。
:
: pieces,
: to

avatar
b*y
11
没有一道写得了bug free 代码的。。。
纠结下周要不要临阵脱逃

s

【在 s*********0 的大作中提到】
: 怎么我去年全是算法题?我面的是seattle的,是不是跟总部不一样?另外,是不是总
: 部的面试简单一些?
: 也发一个去年的g家面经吧
: - 给字符串,里边是几个单词中间没空格,输出所有可能的句子。
: - two sorted array, find the k-th largest number
: - a variant of boggle puzzle
: - given preorder of a binary tree, print all inorders
: - regex
: - given the statics of letter frequency, redesign the cellphone key layout s
: .t. the expected number of presses is minimized.

avatar
t*d
12

s
每一道题都很难。

【在 s*********0 的大作中提到】
: 怎么我去年全是算法题?我面的是seattle的,是不是跟总部不一样?另外,是不是总
: 部的面试简单一些?
: 也发一个去年的g家面经吧
: - 给字符串,里边是几个单词中间没空格,输出所有可能的句子。
: - two sorted array, find the k-th largest number
: - a variant of boggle puzzle
: - given preorder of a binary tree, print all inorders
: - regex
: - given the statics of letter frequency, redesign the cellphone key layout s
: .t. the expected number of presses is minimized.

avatar
e*s
13
楼主 求第一题解释
- 给字符串,里边是几个单词中间没空格,输出所有可能的句子。
有字典提供吗?
avatar
s*0
14
yes

【在 e***s 的大作中提到】
: 楼主 求第一题解释
: - 给字符串,里边是几个单词中间没空格,输出所有可能的句子。
: 有字典提供吗?

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