F*****n 发帖数: 1552 | 1 大约2.5到3个小时.这么长的时间一般会有什么样的题目啊? |
J****x 发帖数: 37 | 2 Here is the coding test from a hedge fund. It is for two hours. Hope it is
of any help for you.
===================================================================
*******************
PROBLEM STATEMENT 1
*******************
The sentence "A quick brown fox jumps over the lazy dog" contains every
single letter in the alphabet. Such sentences are called pangrams.
You are to write a method getMissingLetters, which takes a String, sentence,
and retur |
y*w 发帖数: 238 | |
s****u 发帖数: 118 | 4 估计就是吧……
这样的题目估计都是divII的
【在 y*w 的大作中提到】 : 很像topcoder
|
F*****n 发帖数: 1552 | 5 啥叫divII?
【在 s****u 的大作中提到】 : 估计就是吧…… : 这样的题目估计都是divII的
|
s****u 发帖数: 118 | 6 分成了两个div,divII是相对简单的
【在 F*****n 的大作中提到】 : 啥叫divII?
|
f**********w 发帖数: 93 | 7 Man, I hope read this post earlier. I was tested exactly the same code. Damn
it. |
T*******r 发帖数: 58 | 8 Haha, I did exactly the same ones for a hedge fund. |
y*w 发帖数: 238 | |
F*****n 发帖数: 1552 | 10 怎么测试这两个算法比较好呢?
every
sentence,
considered
without
the
each
two
with
given
is
element
the
=
should
【在 J****x 的大作中提到】 : Here is the coding test from a hedge fund. It is for two hours. Hope it is : of any help for you. : =================================================================== : : ******************* : PROBLEM STATEMENT 1 : ******************* : The sentence "A quick brown fox jumps over the lazy dog" contains every : single letter in the alphabet. Such sentences are called pangrams. : You are to write a method getMissingLetters, which takes a String, sentence,
|
J****x 发帖数: 37 | 11 Use bitmap for the first one. Besides some pitfalls you should caution
against, I couldn't see a special algorithm. Anyway, as long as your problem
compiles and generates right outputs, you should be fine. |
r*****t 发帖数: 286 | 12 first one用STL也就几行代码吧
problem
【在 J****x 的大作中提到】 : Use bitmap for the first one. Besides some pitfalls you should caution : against, I couldn't see a special algorithm. Anyway, as long as your problem : compiles and generates right outputs, you should be fine.
|