分享

google interview questions (2007)...

 weicat 2007-08-31
The interviewer was a guy called Rohit Fernandes. It started with my academic projects. I chose to explain Wumpus World, as usual, which I have implemented in C++ for my OOPS course.. Then he started questioning me.

1. Tell the ways to represent a graph. Given a graph, find whether it is a tree or not.

2. Given a diagram which contains rectangles of different sizes that may overlap with each other and rectangles may be hidden. Discuss the data structures to use to support this funcionality: When a rectangle is clicked, it should come into view on top of others, if it is hidden already. The overall aim is to reduce the amount of repainting to be done everytime the user clicks on a rectangle.

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

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多