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


相关问答:

java日期处理 - Java / Java SE

当知道一个日期,如何把这个日期所在旬的前后两个日期取出
比如输入20090905,就输入20090901 20090910
输出20090901 20090910

取得天数后作一下判断再把这个方法用下void set(int field, int value)  
......

oracle spatial空间函数出错 - Oracle / 高级技术

在执行包的时候引用oracle spatial空间函数出错,出错情况如下
Errors in file
/user/oracle/app/oracle/admin/grid/udump/grid1_ora_143768.trc: ORA-29902:
error in executing ODCIIndexStart() routine ORA-0 ......

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 ......

HTML标签底层的实现原理、机制 - Java / Java SE

为什么HTML以及一些其它标签会显示一些特定表现形式呢?如HTML中的换行标签<BR/>在底层是怎样实现的呢?现实的原理是什么呢
去W3C官方网站上,看看吧!我想一看你就明白了

我猜和编译原理有关,浏览器里可 ......

oracle 存储过程改成 事物 怎么写啊 - Oracle / 开发

CREATE OR REPLACE PROCEDURE usp_refreshTopN
 IS
 BEGIN
 
--文档
INSERT INTO topnresource(resourceId,title,type,cover,brief,properUser,tag,clickAmount,createDate,topNCreateDate,o ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号