面试测试...... [英] Interview test......

查看:53
本文介绍了面试测试......的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为面试设置一些简单的编码测试.... Joel

推荐(适用于C程序员)....


1 。反转一个字符串

2.反转一个链表

3.计算一个字节中所有的位数

4。二进制搜索

5.找到最长的字符串

6. atoi

7. itoa


我很想使用1 ....但它看起来有点做作......而5似乎是合理的......

(除非人们知道如何缩短测试时间.....)


任何其他建议....


我显然想要测试能力而不是知识...所以我不会想要你知道一些模糊的(或不是)

方法的东西。 ...

I want to set some simple coding tests for an interview....Joel
recommends (for C programmers)....

1. Reverse a string in place
2. Reverse a linked list
3. Count all the bits that are on in a byte
4. Binary search
5. Find the longest run in a string
6. atoi
7. itoa

I''m tempted to use 1....but it seems a little contrived....and 5 seems
reasonable.....
(unless people know of ways of shortcutting the test.....)

any other suggestions....

I obviously want to test ability rather than knowledge...so I don''t
want things that is easy if you happen to know some obscure (or not)
method.....

推荐答案

简单...哪个测试最接近你雇用该人的任务

在你的团队中表演吗?


" Ni ****** *****@mtvne.com"写道:
Simple... Which test is closest to the task you are hiring the person to
perform within your team?

"Ni***********@mtvne.com" wrote:

我想为面试设置一些简单的编码测试.... Joel

推荐(适用于C程序员).. ..


1.反转一个字符串

2.反转链表

3.计算所有位是一个字节

4.二进制搜索

5.找到最长的字符串

6. atoi

7. itoa


我很想使用1 ....但它似乎有点人为......而且5似乎是

合理.....

(除非人们知道如何缩短测试时间.....)


任何其他建议....


我显然想要测试能力而不是知识...所以我不想要b / b想要一些容易的东西,如果你碰巧知道一些模糊不清的话(或不)

方法.....

I want to set some simple coding tests for an interview....Joel
recommends (for C programmers)....

1. Reverse a string in place
2. Reverse a linked list
3. Count all the bits that are on in a byte
4. Binary search
5. Find the longest run in a string
6. atoi
7. itoa

I''m tempted to use 1....but it seems a little contrived....and 5 seems
reasonable.....
(unless people know of ways of shortcutting the test.....)

any other suggestions....

I obviously want to test ability rather than knowledge...so I don''t
want things that is easy if you happen to know some obscure (or not)
method.....


你究竟想从中得到什么?测试?我问,因为我不是这种采访场景的粉丝。


能力不是因为能够编写一段代码在一个

的采访中 - 这些天下载网页片段的速度通常更快

作为示例和代码 - 大多数优秀的编码人员都有一个
他们引用的常用函数(比如字符串反转等)。


对某人是否可以传播
$ b $并不是一个好的评估b问题,找出解决问题的策略,计划解决问题的方法,设计并实施该策略。我实际上

更愿意将一段有缺陷的代码传递给候选人并要求他们尝试使用它来确定问题,基于给定的输入和输出 - 这是

更像是编码员每天都要面对的现实问题。然后你可以评估他们如何处理问题以及他们如何寻求解决方案

显示经验和能力更好。


问候


John Timney(MVP)
http ://www.johntimney.com
http:// www。 johntimney.com/blog

< Ni *********** @ mtvne.com写信息

新闻:11 ** *******************@22g2000hsm.googlegrou ps.com ...
What exactly are you looking to get from the test? I ask because I''m not a
fan of this type of interview scenario.

Ability does not come from being able to write a snippet of code in an
interview - its usually faster to download a snippet off the web these days
as an example and code from that - and most good coders have a library of
common functions they refer to (like string reverse etc.).

Its not really a good assesment of whether someone can disseminate a
problem, work out a strategy to solving it, plan an approach to solving the
problem, design and implementing that strategy to completion. I actually
prefer to pass a flawed piece of code to a candidate and ask them to try and
identify the problem with it, based in given inputs and outputs - which is
more like the real world problem a coder will face daily. You can then
assess how they dealt with the problem and how they sought solution which
shows experience and ability much better.

Regards

John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog
<Ni***********@mtvne.comwrote in message
news:11*********************@22g2000hsm.googlegrou ps.com...

>我想要为面试设置一些简单的编码测试.... Joel

推荐(适用于C程序员)....


1.将字符串反转到位

2.反转链表

3.计算一个字节中的所有位数

4.二进制搜索

5.找到最长的字符串

6. atoi

7. itoa


我'' m pted使用1 ....但它似乎有点做作....而且5似乎

合理.....

(除非人们知道方式快速测试.....)


任何其他建议....


我显然想测试能力而不是知识。 ..所以,如果你碰巧知道一些晦涩的(或不是)

的方法,我就不会想要那么简单的事情......
>I want to set some simple coding tests for an interview....Joel
recommends (for C programmers)....

1. Reverse a string in place
2. Reverse a linked list
3. Count all the bits that are on in a byte
4. Binary search
5. Find the longest run in a string
6. atoi
7. itoa

I''m tempted to use 1....but it seems a little contrived....and 5 seems
reasonable.....
(unless people know of ways of shortcutting the test.....)

any other suggestions....

I obviously want to test ability rather than knowledge...so I don''t
want things that is easy if you happen to know some obscure (or not)
method.....



您在寻找什么样的开发人员?

AC #web-developer可以使用魔法,但不知道如何完成任何

下面的任务。


呵呵,我想我可以在一分钟内做Joel测试:

1。使用谷歌

2.使用谷歌

3.为什么?

4.使用谷歌

5.什么?

6.旧c东西

7.旧c东西


我雇用了吗?


除了笑话,让开发人员实际提交代码什么也没说。

据我记得,Joel说回答并不重要,

但开发人员的想法是什么。


而不是让申请人给你二进制搜索的代码,

问他/她二进制搜索是什么,如果申请人可以向你解释

给你,并告诉你关于鄂尔多斯(log2N),

列表排序的成本等等,

申请人可能是个好雇员。


我的老技巧是展示一些代码我们正在努力。

除了代码在某些地方用愚蠢的代码挖掘。

当我谈论代码时,我会看看申请人的反应。 />
但你必须做出判断,因为申请人可能会感到紧张,并且可能不会对礼貌给予批评。


关键是让申请人谈论代码,

,当你宣传不良代码为超级智能时,

如果申请人看着你就像你疯了一样-man,

你有一个很好的雇用。


此外,告诉申请人你挖掘你的代码可能是个好主意。

如果申请人仍然认为你疯了男人,他们可能

无论如何也不想为你工作。 =)


我的2美分

- Michael Starberg


< Ni ******* ****@mtvne.com写信息

新闻:11 ********************* @ 22g2000hsm.googlegrou ps.com。 ..
What kind of developer are you looking for?
A C# web-developer can work magic, without knowing how to complete any of
the tasks below.

Hehe, I think I can do Joels test in like a minute:
1. Use google
2. Use google
3. Why?
4. Use google
5. What?
6. old c stuff
7. old c stuff

Am I hired?

Jokes aside, having a dev actually submit the code says nothing.
And as far as I remember, Joel says that the answer is not important,
but how the dev thinks.

Instead of having the applicant give you the code for a binary search,
ask him/her what a binary search is, and if the applicant can explain
it to you, and tells you about Ordos(log2N),
the cost of having the list sorted and so on,
the applicant is probably a good hire.

My old trick is to show some of the code we are working on.
Except that the code is mined with stupid code in some places.
And while I talk about the code I look at the applicants reaction.
But you have to be carful making judgement, as the applicant may
be nervous and might not give critique as of politeness.

The key is to get the applicant talking about the code,
and while you promote bad code as being super smart,
if the applicant looks at you like you are a mad-man,
you have a good hire.

Also, it may be good idea telling the applicant you mined your code.
If the applicants leave still thinking you are a mad man, they probably
won''t want to work for you anyway. =)

My 2 cents
- Michael Starberg

<Ni***********@mtvne.comwrote in message
news:11*********************@22g2000hsm.googlegrou ps.com...

>我想为面试设置一些简单的编码测试.... Joel

推荐(适用于C程序员) ....


1.反转一个字符串

2.反转链表

3.统计所有一个字节中的位

4.二进制搜索

5.查找字符串中最长的运行

6. atoi
7. itoa


我很想使用1 ....但它看起来有点人为......而且好像有5个好像

合理.....

(除非人们知道如何缩短测试时间......)


任何其他建议.. ..


我显然想要测试能力而不是知识...所以我不会想要你知道的事情很容易一些obsc是(或不)

方法.....
>I want to set some simple coding tests for an interview....Joel
recommends (for C programmers)....

1. Reverse a string in place
2. Reverse a linked list
3. Count all the bits that are on in a byte
4. Binary search
5. Find the longest run in a string
6. atoi
7. itoa

I''m tempted to use 1....but it seems a little contrived....and 5 seems
reasonable.....
(unless people know of ways of shortcutting the test.....)

any other suggestions....

I obviously want to test ability rather than knowledge...so I don''t
want things that is easy if you happen to know some obscure (or not)
method.....



这篇关于面试测试......的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆