Google phone interview

来源:百度文库 编辑:神马文学网 时间:2024/04/25 14:37:38
1. Describe the data structure that is used to manage memory. (stack)
2. whats the difference between local and global variables?
3. If you have 1 million integers, how would you sort them efficiently? (modify a specific sorting algorithm to solve this)
4. In Java, what is the difference between static, final, and const.(if you dont know java they will ask something similar for C or C++).
5. Talk about your class projects or work projects (pick somethingeasy)… then describe how you could make them more efficient (in termsof algorithms).