Interview
文章平均质量分 79
dangelrose
爱自己的专业,爱运动,爱音乐,爱交友,爱生活。
展开
-
面试——面向对象题
面试——面向对象题 一:抽象类与接口的区别(用英文描述) Interface is open to the public, there can not have the private methods and variables.It is used to let others use, but the abstract class can have private ...原创 2010-01-21 14:29:29 · 76 阅读 · 0 评论 -
面试——IQ题
面试——IQ题1.提供一个3升和一个5升的水桶,并提供无限多的水,你怎样用它们准确地量出四升和七升的水来呢?? 答:装满3升,倒进5升,再装满3升,倒进5升,倒掉5升,把3升剩余倒进去,再装满3升,倒进5升 装满5升,倒进3升,倒掉3升,把5升里剩余倒进3升,再装满5升 2.有八颗弹子球,其中1颗比其他7颗重(其他七颗重量相等),怎么使用天平只通过两次称量就可以找...原创 2010-01-21 14:30:01 · 393 阅读 · 0 评论 -
数据结构基础-队列(一)
import java.io.InputStreamReader;import java.io.BufferedReader;/*** Class CycQueueDemo* Description 循环队列的基本算法* Company opendata* Author Chenlly* Date:08-12-06* Version 1.0*/...原创 2010-01-21 14:30:58 · 49 阅读 · 0 评论 -
面试——数据结构二
排序及查找方法 #include <malloc.h>#include<stdio.h>#define N 11/*用监视哨查找*/int search(int array[],int n,int k){int i; i=n-1;array[0]=k;while(array[i]!=k) i--;return(i);}/*...原创 2010-01-21 14:32:22 · 74 阅读 · 0 评论