Saturday, October 25, 2008

问2个微软电话面试题目(zz)

发信人: wmbyhh (wmbyhh), 信区: Programming
标 题: 问2个微软电话面试题目
发信站: BBS 未名空间站 (Thu Jul 17 15:39:03 2008)

1、Suppose there is an interger array of size N, the value of each
element ranges from 1 to N-1, so there are at least two elements have
the same value. Find the fastest algorithm to detect the first
repeated element.
2、 int (*a) [10];
a++;
What is the value of a after this?
a是个指向地址的指针?还是a就是个地址?

No comments: