易截截图软件、单文件、免安装、纯绿色、仅160KB

高分求教Oracle公司笔试答案 - Java / Java SE

1、please realize the defined function to get the height of BinaryTree predifined tree structure
java:
  public interface Tree{
  public object getValue();
  public Tree getLchild();
  public Tree getRchild();




The Function which you need to realize 
long getTreeHeight(Tree t);


2 There are 50 persons standing in a circle for a team, those who count the number 3 or multiple of 3 should leave from the circle, who is the last one in the circle? Please implement a class to get the persons original position in the circle...
哥们你英语几级?

到6级没

6级啊!

数到3出去的题一搜一大把

给我个链接好么?

数到3出去的题给我一个链接好么? 类似的!!

http://steven-hong.javaeye.com/blog/491982

注意我的头像!


第二题写个内部类来辅助解决比较好。

思路呢? 我不是很注重答案



upupupupupupupupupupupup

晕,居然是全英的面试题,看来要努力过6级了……


引用
第二题给你一个成品吧....

Java code

public class TestRound {
public static void print(int number,int count) {
ArrayList list = new ArrayList();
for (int i = 1; i <=number; i++) {
……

赞一个!

顶#14楼的,有注释,容易看懂


相关问答:

C/S项目架构设计----求助 - Java / Java SE

本人正在用Java做一个C/S架构的项目, 
可是由于项目比较大,前期对架构的设计尤其重要,因为后期可能随时会加个功能或者去掉某些功能。 
所以特地寻求如何设计C/S的架构使程序更加面向对象更加易于维 ......

java socket email 问题 - Java / Java SE

我在 java核心技术上 看了一个 利用 Java socket email的例子 可是怎么也 不成功 为什么?
源码
Java code:

package cn.com.test.email;
import java.awt.GridBagLayout;
import java.awt.event.Action ......

Oracle临时表使用问题 - Oracle / 开发

我的处理是这样的:
我有一个很大的数据集合,处于性能方面的考虑需要使用临时表过渡,并且使用分页的方式向临时表中插入数据,数据使用完毕后,删除临时表的数据。
出现的现象:当Oracle重新启动后,第一页插入的 ......

myeclipse+mysql的配置问题 - Java / Eclipse

我是个新手,望高手解答
我现在已经安装了mysql,也有mysql的jdbc。但我怎么配置后,才能在MyEclipse里操作mysql呢?请高手说详细点
打开Myeclipse----window---open perspective---MyEclipse database explorer-- ......

模拟href 的 css样式 - Java / Web 开发

现在不想用<a> </a> 标签 ,因为点击后会出现页面重定位,给文字加上css样式就可以看起来 是href怎么实现这样的css
text-decoration:underline; cursor:hand;

引用
text-decoration:underline; cur ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号