易截截图软件、单文件、免安装、纯绿色、仅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楼的,有注释,容易看懂


相关问答:

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

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

java windows7 MSSQL - Java / Java SE

使用java在windows7 32位下连接MSSQL。
两台机器,windows7 32位,在控制面板里面全部设置语言和区域选项都english-unitedstates
唯一区别只有在安装SQL server 2008的时候 选择的字符集不一样,
exec sp_helpsor ......

java 求助 - Java / Java EE

insert into [ScholarshipManagement].[dbo].[department] ([department],[specialization] ,[grade]) output inserted.departmentID values(? ,? ,? )
请问大哥们这个sql 语句应该用Java里的那个数据库操作方法? ......

jsp和tomcat问题,快疯了 - Java / Java EE

我写了个jsp页面,然后改动了一下,改动的内容就是在jsp页面的js函数里加了个alert()语句,但是我访问这个页面时,死活都是原来页面的内容,我加了很多alert函数还是没改动前的页面内容;tomcat重启了,也重新部署这 ......

oracle 如何调用mssql存储过程 - Oracle / 高级技术

oracle 通过BDlink 连接到一台MS SQL,查询都可以,但是不知道如何在oracle通过DBLink调用MS SQL的存储过程,求解~谢谢~
引用
oracle 通过BDlink 连接到一台MS SQL,查询都可以,但是不知道如何在oracle通过DBLink调用M ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号