Repost a post from another forum:
I came back from the Xunlei interview and spent a whole afternoon (I don’t know how to put it, the waiting time was almost 2 hours). I felt that the written test and the computer test were okay, but I didn’t answer the technical interview very well. Now I feel like it again One of the differences between Internet companies and general software companies is that Internet applications have very high performance requirements. After talking for an hour, most of the questions seemed to be about performance issues. I have always been weak in this aspect, sweat: (
I carefully recalled the questions throughout the interview process and recorded them. I hope everyone can give me some opinions and discuss them.
1. Written test questions:
A) JAVA basic multiple-choice questions, relatively simple, omitted
B) Q&A:
1) Ajax principle, how to refresh data and its advantages?
2) What is the explanation and applicable occasions of the facade model?
3) Write 6 common Linux commands?
4) SQL statement questions, relatively simple
C) Programming:
1) There are three thread IDs: A, B, and C. Please implement multi-thread programming and print ABCABC on the screen 10 times in a loop...
2) If there is a string "6sabcsssfsfs33", what is the fastest way to remove the character "ab3"? Can't you use Java's built-in string methods (indeOf, substring, replaceAll, etc.)?
2. Computer questions:
How to use Java to count the number of letters, numbers, spaces and lines that appear in each file in a certain directory?
3. Interview questions:
1. Talk about the principles of JVM? What is the difference between memory leak and overflow? When does a memory leak occur?
2. How to use Java to implement DB storage with 100 million records per day? How to design a MySQL database with hundreds of millions of records?
3. Does mysql support transactions? What are the DB storage engines?
4. MVC principles, advantages and disadvantages of MVC model, if you were asked to design, how would you transform MVC?
5. Does hibernate support clustering? How to implement clustering?
6. How many concurrent users does tomcat support?
7. Map principle, how does it quickly find keys? What is the difference between map and set?
8. Drawing algorithm, how to effectively merge two files: one is 100 million pieces of user basic information, and the other is 50 million records of users watching movies, TV series, etc. every day. Only 1G of memory? ? ?
9. Among 100 million user records, how to quickly query and count users who have watched more than 5 movies?
10. How does Spring implement IOC and AOP? What are the implementation principles?
I look forward to everyone’s discussion and joint improvement. Thank you.
This article comes from the CSDN blog. Please indicate the source when reprinting: http://blog.csdn.net/chenfangling/archive/2009/12/17/5027710.aspx
-