分享

Google phone interview questions...

 weicat 2007-08-31
from mitbbs.com.

发信人: nanomag (笨)
(Fri Jan 12 16:40:55 2007)

1. primary key vs index
2. 1M 7 digit phone numbers, 2MB spare memory, read each number only once
and sort them.
3. you need read a lot of records, you don‘t know how many records here
before you complete it. After you read all those records, you need select
one record randomly.In another words, every record has same chance to be
selected. The memory is limited, that means you cannot store all those
records at one time.

slowsnow (calvin) 于 (Tue May 16 15:01:44 2006) 提到:

刚打完电话,跟大家分享一下。
1. Find links/urls from one html page using C++, then how do you store those
links that you found.
2. Design a schema for actors and movies database (one actor can be act one or
more movies and one movie has more than one actor). Search name of actor, you
can get a list of movies and search name of movie, you can get a list of
actors. 我数据库老早以前上过一门课,现在全忘光了。:(
3. In a linked list find the nth node from the end of this list.
4. questions about interface and abstract class.

是印度人,口语不错,人很nice,问问题的时候强调要立刻讲给他程序中要用到哪些具体
的function, data structure等等。

第一个问题前几天这里也有人提到过,是用C,不是C++,除了检测Anchor Tag还有别的方
法吗?我想来想去只想到这个,但是面试人好像还期待有别的方法的样子。

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多