问一个面试题,不懂题目意思

fhuc 2008-03-06 04:51:19
Design a deck of cards that can be used for different card game applications. Then write me an algorithm that will shuffle this deck of cards, and write junit tests (as many test cases as you can come up) to make sure it will work properly. Please make sure the program can be compiled and run. This is an algorithm question, so pls do not use any existing API. You need implement it yourself. And then send me the translation and the entire code and ant build file in zip or rar
...全文
141 9 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
9 条回复
切换为时间正序
请发表友善的回复…
发表回复
fhuc 2008-03-07
  • 打赏
  • 举报
回复
谢谢各位
AC19891023 2008-03-06
  • 打赏
  • 举报
回复
看来是大公司哦
zjhlht 2008-03-06
  • 打赏
  • 举报
回复
........
啥也不说了~~~~~

进来学习了~~~~
学英语了!!!

T.T
fhuc 2008-03-06
  • 打赏
  • 举报
回复
哦,谢谢,他说要can be used for different card game applications,应该是要能通用吧,另外洗牌程序,通常
洗牌的话是不是要尽量打散,还是完全随机即可?
z_x_z 2008-03-06
  • 打赏
  • 举报
回复
与LZ共勉
lirong800 2008-03-06
  • 打赏
  • 举报
回复
看来是个大公司.
qingqingxuelang 2008-03-06
  • 打赏
  • 举报
回复
让你提供一个纸牌程序
实现这么一个功能:可以玩不同的纸牌游戏
另外要提供一个洗牌的算法,尽可能多的写测试程序以保证它的正确性
保证你所提供的程序能够正确编译和运行
不要用现存的API,并且希望悄能够独立完成
最后让你把完整的代码以及用ANT编译后打成zip或者RAR文件发送给他

应该是这个意思吧
highkay 2008-03-06
  • 打赏
  • 举报
回复
让你设计一个牌堆(普通扑克牌),然后写一个洗牌的算法。

不要用现成的api,(比如Vector之类),自己实现数据结构,还要写尽可能多的测试用例,把翻译和全部工程(含ant),一起打包给他 。
fhuc 2008-03-06
  • 打赏
  • 举报
回复
Design a deck of cards that can be used for different card game applications.Then write me an

algorithm that will shuffle this deck of cards, and write junit tests (as many test cases as

you can come up) to make sure it will work properly. Please make sure the program can be

compiled and run. This is an algorithm question, so pls do not use any existing API. You need

implement it yourself. And then send me the translation and the entire code and ant build file

in zip or rar

刚忘记短句了,我就是不理解题目倒底要我干什么,四好男人,又不怎么打牌,这不是难为我么,各位帮帮忙,谢谢了

62,635

社区成员

发帖
与我相关
我的任务
社区描述
Java 2 Standard Edition
社区管理员
  • Java SE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧