寻找练习编程问题 [英] Looking for practice programming problems

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

问题描述




我正在寻找C#练习/面试编程问题而不是

一般框架解释性问题。


我遇到的那些我觉得有点容易。我想找到

材料,不仅测试技术性或语言知识,而且还测试一个人解决问题的能力,尽管不是那种

a每天实施一件。我很感激你们对你可能建议的书籍/链接/资源的任何

推荐。


Antoan

解决方案

我喜欢使用的一些......


1)给定一个整数打印出一个字符串32个1'和0'代表它的

位//如果你知道按位的oeprator或者有一个好的框架那么很容易

抓住,不应该花费超过1-2分钟

2)写一些生成迷宫的基本代码...让他们写代码来

解决迷宫

3)让他们编写代码以找到给定迷宫的最佳解决方案

4)给他们糟糕/错误的代码并让他们进行哲学调试然后

将它重构为更好的代码


干杯,


Greg Young

MVP - C#
http://codebetter.com/blogs/gregyoung


antoan <一个**** @ antoan.plus.com>在消息中写道

news:44 ********************** @ ptn-nntp-reader01.plus.net ... < blockquote class =post_quotes>

我正在寻找C#练习/面试编程问题而不是
一般框架解释性问题。

那些我'我发现我觉得有点容易。我想找材料不仅测试技术性或语言知识,还测试一个人解决问题的能力,但不是那种需要花一天时间才能实现的一块。我将非常感谢你们对你可能建议的书籍/链接/资源的任何建议。

Antoan



> 2)编写一些生成迷宫的基本代码...让他们写代码到

解决迷宫
3)让他们编写代码以找到给定迷宫的最佳解决方案



如果我看到这样的问题,我会走出面试:-)


我个人问他们他们将如何理论上这样做(我应该添加

这是一个问题,对于一个较低级别的开发人员:))实际上不要这样做..我

从来没有让他们写接受采访时的代码..


实际上我应该添加另一个我要求winforms人员...我怎么会

可以将文本文本颠倒打印。


一般来说,我更喜欢问一些奇怪的问题,我知道他们从来没有这么做过。

但是如果你了解到什么事情就很简单。


干杯,


Greg Young

MVP - C#
http://codebetter.com/blogs/gregyoung

" Peter Morris [Droopy eyes software]" < PE ** @ droopyeyes.no.com.spam>写在

消息新闻:ei ************** @ TK2MSFTNGP04.phx.gbl ...

2)写一些生成迷宫的基本代码...让他们编写代码来解决迷宫
3)让他们编写代码以找到给定迷宫的最佳解决方案



如果我看到这样的问题,我会走出采访: - )



Hi,

I am looking for C# practice/interview programming problems and NOT
general framework explanatory questions.

The ones I''ve come across I find a wee bit easy. I''d like to find
material that tests not just technicality or knowledge of the language
but also one''s problem solving abilities, though not the kind that takes
a day to implement a piece. I''d be grateful to ya''ll for any
recommendations on books/link/resources that you might suggest.

Antoan

解决方案

A few of the ones I like to use ...

1) Given an integer print out a string of 32 1''s and 0''s representing its
bits //very easy if you know bitwise oeprators or have a good framework
grasp, shouldn''t take more than 1-2 minutes
2) Write some basic code that generates mazes ... make them write code to
solve a maze
3) Make them write code to find the optimum solution to a given maze
4) Give them bad/buggy code and make them philosophically debug it then
refactor it to be better code

Cheers,

Greg Young
MVP - C#
http://codebetter.com/blogs/gregyoung

"antoan" <an****@antoan.plus.com> wrote in message
news:44**********************@ptn-nntp-reader01.plus.net...

Hi,

I am looking for C# practice/interview programming problems and NOT
general framework explanatory questions.

The ones I''ve come across I find a wee bit easy. I''d like to find material
that tests not just technicality or knowledge of the language but also
one''s problem solving abilities, though not the kind that takes a day to
implement a piece. I''d be grateful to ya''ll for any recommendations on
books/link/resources that you might suggest.

Antoan



> 2) Write some basic code that generates mazes ... make them write code to

solve a maze
3) Make them write code to find the optimum solution to a given maze



I''d walk out of the interview if I saw questions like that :-)


I personally ask them how they would do it theoretically (and I should add
thats a question for a lower level developer :)) not to actually do it.. I
never have them write code in an interview ..

Actually I should add another I ask alot for winforms people .. how would I
may a textbox print its text upside down.

I prefer in general to ask odd questions I know they have never had to do
but are simple if you understand whats going on.

Cheers,

Greg Young
MVP - C#
http://codebetter.com/blogs/gregyoung
"Peter Morris [Droopy eyes software]" <pe**@droopyeyes.no.com.spam> wrote in
message news:ei**************@TK2MSFTNGP04.phx.gbl...

2) Write some basic code that generates mazes ... make them write code to
solve a maze
3) Make them write code to find the optimum solution to a given maze



I''d walk out of the interview if I saw questions like that :-)



这篇关于寻找练习编程问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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