Background
I am a non-985/211 undergraduate. In fact, the first is not how confident, relying on a bunch of xxx mutual encouragement, only to adhere to the present.
My Xiaomi interview opportunity is a relative to the internal push, because they happen to the department of the school recruit not full, so lucky to get this opportunity.
A little bit, my face is Java background post.
Interview begins
First of all, although I passed the interview also got an offer, but as to whether I really answered the question, I do not know, so here in order to avoid fraught will not send my answer, if there is interest can self-Baidu, Google.
Side:
- 1, 1 billion URLs, each URL size < 56B, required to go to the URL to go to heavy, and the machine's memory size is 4G.
- 2, say about the computer network seven layer, five layer, four layer protocol; IP address subnetting.
- 3, hit a URL in the browser, press ENTER, what happened?
- 4, asked a lot of Linux commands, specifically forgot, asked 4, 5 bar.
- 5, asked a few check table, even the case of the table, let the general say SQL statements.
- 6, talk about the understanding of Tomcat.
- 7, handwritten a quick row.
Can see the whole side is very rich in the color of school strokes, more textbooks on the content. After entering the two side, a lot of Java content is started.
Two sides
- 1. Talk about your understanding of thread synchronization.
- 2, Reentrantlock and synchronized differences, understand the synchronized principle of implementation?
- 3. Have you used Countdownlatch? What's the scene for?
- 4, talk about the JVM, what is the use of the program counter?
- 5, AOP programming common implementation way. Cglib know?
- 6, Spring source has seen it? Talk about the place you're most impressed with.
- 7, talk about your views on the sub-table.
- 8, talk about the principle of the load balancing nginx.
How do you say Two faces? Ask the content of the original reason is much more (I guess this person is to ask the depth, I have a lot of answers is not good, but he still let me pass), here must mention a mouth is: do not dig a hole for themselves. Generally dare to ask the interviewer, this aspect master better. Accidentally will be asked to live. I was here to eat a loss, pull a little more, was asked after the answer can not come up.
Three sides
- 1. Find the intersection of the two chains in the quickest way you can think of. (Say ideas)
- 2, the given array of all the odd number in front, even after the, how to flip over. (Say ideas)
- 3, write a bubble bar. (yes, it's bubbling ...). )
- 4. Say something that impresses you most in your resume.
- 5, if let you achieve a framework, what is the most you want to do the framework, why? Talk about ideas.
- 6, why choose Millet.
Three sides of the overall comparison of the jump off, especially also let write a bubble ... In fact, the first 3 questions, and did not use too much time, our simple exchange on the finished. The main time was spent on the last 3 questions, and the interviewer was there to hear me say. I don't know how to interrupt.
Results
After the interview let me go back to the notice, halfway I asked my family relatives, feedback is no problem. Sure enough to go back to the fourth day received the HR call.
In fact, personal feeling, Xiaomi overall interview is not very difficult, I believe many friends can be answered, even better. A moment's defeat, don't be depressed, may be the cause of luck and opportunity.
Refuels, must always maintain the confidence, must remain firmly believe that the good thing is about to happen ~ ~ haha
A lucky school recruit Xiaomi Java background offer