Preface:

Beijing – three years of experience -Java. During the two months of golden three silver four (I also interviewed several companies in early May, mainly in March and April), I changed jobs and interviewed 15 companies. Finally, I successfully got the offer. Now I have been working normally, so NOW I have time to calm down and make a summary of the interview experience of the first two months and talk about my feelings and summary of the interview with 15 big factories at that time. (The article is a bit long, please be patient to watch, thank you ~~~~)

After the interview

1. Ali has an interview

Round 1: Initial phone call

Round 2: Technical interview [For technical positions, try not to talk too much about management work]

Third round: senior executives second interview

Fourth round: HR final confirmation

One side: first of all, confirm the degree of intention to Ali (if different places will consider the working place (Hangzhou) degree of intention! Ali takes this very seriously); Secondly, the interviewer will communicate with you about specific technologies based on the projects you have done. They will pay more attention to whether you have a good grasp of project details. They will mainly investigate the technical basis and principles of Java, such as Spring framework, database and JVM, and also discuss the implementation of distributed and thread pool. Focus on whether there is a comparative study of technology and technology on the bright spot [not necessarily every face is very strong but must have bright spot];

2: On the technical side, I will have an in-depth understanding of technical strength, your scope of knowledge, your ability to solve problems, and your ability to use technology flexibly according to the project. I will also evaluate teamwork ability, learning initiative and innovation through this process. Do a careful technical review and understanding of 2-3 typical projects you have worked on (this will be a plus for you);

Three aspects: Their final senior management interview will involve related technical issues, most of which are to do macro control of your overall values (such as ambition, responsibility, mentality, work passion, etc.)

HR confirms: Basically, it is to understand your mentality, ability to work under pressure, role in work, future planning and intention to Ali from the general direction

Check the details of the project, talk about your technical highlights according to the project, can express clearly, can guide the interviewer to ask technical questions you are good at, you can play to your heart’s content.

Ali likes the characteristics of talents: passion for technology, strong technical base strength; Initiative, good at team work, good at summarizing and thinking;

Ali’s interview questions tend to be low-level

Java memory structure, implementation of Spring AOP, Java database problem location and performance tuning;

About the continuation hierarchy of Java exceptions, about the continuation relationship of exceptions;

What is the difference between overloading and overwriting in Java?

About distributed message queue, distributed cache;

Hashmap source code implementation, JDK

Questions about design patterns, UML, JVM memory reclamation mechanisms

How do Java threads start? How to add a lock in Java?

The understanding of optimistic lock and pessimistic lock;

How to optimize SQL in ORACLE? What are the features of transactions, and what are the levels of isolation in ORACLE?

Describe a typical project you recently worked on.

What problems I encountered in the project and how I solved them;

What is the number of users supported by the current system? If the number of users increases by 10 times, what kind of problems will occur in the system? How to redesign the system?

What is the rationale for using memcached

Describe how to store data into a memcached cluster. Follow up the problem, talk about the implementation principle of the consistent hash algorithm.

How is the heap managed in the JVM

Distributed transaction implementation

Hot account questions (asked in the project)

The first round of technical interview (telephone interview) covers Java basics (for reference) :

session

Java lock

The gc principle

hashmap

Listlink arraylist difference

Aop principle

multithreading

Kafka principle and fault tolerance

Principle of spark hadoop

Redis synchronization mechanism

This mechanism

The Http protocol

Cookie restrictions

The HashMap key requires that the HashCode be consistent with whether two objects are equal

The principle of the JVM

Cover a wide range of topics, including the problems encountered in the project, so as to explore further.

XX:

How are your job responsibilities, skills or management assigned

Introduce the project, the technology involved and describe the process. And then he gets interested and he goes further

Then we’ll talk about JVMS, noSQL, etc

If the server is slow, how should you troubleshoot the problem

How do you track the time spent on a method with minimal interference with the business program

Audit interview – Java:

Current technical management focus;

Understanding of ali recommended corresponding positions;

What is the system design?

Do some architecture, where the data sources are coming from and ask deeply;

Module boundary, cache mechanism;

Selection of technology selection, the difference between A and B;

How to use multithreading, what are the benefits, and the difference between process;

Multithreaded process;

Multi-thread synchronization method, X project how to achieve;

Distributed architecture in your current projects;

What has been communicated across hosts, interfaces, etc.

Big data storage;

Conclusion: What do you think you are good at, the route you want to take in the future, technology or management;

Java Interview Questions

The two modes of JMS are those;

How to update the rich client;

Design your own capabilities for an enterprise data bus such as an ESB;

System architecture design;

How to control session in the cluster;

How to know which modules in Java storage consume more memory;

Adjust application server parameters.

2. New Oriental

Technical interview, two rounds, location: 6 / F, Ding Hao Building, Exit E, Zhongguancun Subway Station,

Interviewer: Long Yanjun, Manager Li Interview time: 2018_04_19_10:30(45 minutes earlier)

1. Introduce yourself

2. Project introduction

3. LiveChat Project, the first

Hainan HNA Project, the second, the most familiar

5. Technology:

The mysql database

How does mysql copy master slave/master master, and how does Java operate?

If one insert and one delete fails, how does the transaction operate to ensure that the data is unique?

Mysql performance optimization solution

–1. Index frequently queried verses

— Use good SQL statements, not like

Q: Why not use “like”

Answer: Because it breaks the index

Q: Under what circumstances does like not break an index

A: I don’t know

Q: How do I find out if a SQL statement is well written

A: Unit test, determine the execution time, or print the execution time of SQL online

Q (Summary) : Some SQL words, can not test the environment to measure the performance, must be on production, because production has big data

Feedback from the production environment tells you about SQL performance

Q: Database use mybatis, mybatis SQL has several ways

A: Programmatic (Java code) and integrated XML ()

Q: HTTP status code

A: 200 (OK) 404 (page not found) 403 (permission problem) 500 (code error) others have forwarding, redirection and others

Q: How dubbo works

A: Producer, consumer, registry, ZooKeeper permissions and port permissions

Q: How does your project use Dubbo

A: Use Dubbo to call the interface of HNA Frequent customer group, configure the registry and interface (XML), create the class object by @Authorwired annotation, and then call the method

Q: how does the generated environment dubbo work all of a sudden, all of a sudden, how do you find out?

Answer (In fact, Dubbo has its own management page, you can see it directly) In our project, the operation and maintenance configuration detection interface is found to be disconnected within 5 minutes, and a reminder will be sent by SMS (there is a problem with the answer)

Q: The interviewer said your Dubbo is only in the use phase

A: Yes, the principle of this part has not been studied

Q: What caches have you used

A: Memcache, Redis, session, cookie

Interviewer 2:

Q: Tell me about the technology you’re most familiar with

Basic introduction to data structures and algorithms, Java, understanding of design patterns and JVM and framework use

Q: Frame what you use

Spring+SpringMVC+Mybatis

Q: How do you use Spring AOp

A: Log management, transaction management

Q: Mybatis $and # difference

If the parameter is not validated, SQL injection may occur. If the parameter # is marked with a ”, SQL injection will not occur

Mybatis: @param(User User,int id,String name

A: No, if multiple arguments use a map or encapsulate object, use a single String

Q: If Java passes two arguments, int and string, how will Mybatis accept them

Answer :(stuck)

Q: Since I have read mybatis, I should know this, or how to parse mybatis

Param1 and param2 are accepted as param1 and param2 with # after the parameter type (typeHandle should be used).

Q: Dubbo use (ask again)

Q: HTTP status (again)

Q: How does Request accept the browser address interface

A: Request has a row, a header, and a body. Interface address in the request line, the background Java code request to read the request line stuff on line (specific name really forget)

Q: What other methods does Request have

Answer: Request.getParameter, Request.getParameters, Request.getQueryString, etc

Q: JSP’s nine built-in objects

A: Page page, request request, session, application, Resonse, config remaining out, Exception, pageContext

.

Q: Do you have any plans for your future

A: architecture

Q: Do you feel your own level, the lowest can take how many, acceptable (life second interview, die here, not smooth, to their own strength understanding is not clear)

A: The lowest price for this position is 20,000 yuan and the highest is 2.5 yuan, but I think I haven’t reached the level of 2.5 yuan. 20,000 yuan is acceptable. Of course, the more your company can offer, the better

Q: I’ll consult with other technicians and get back to you (end of interview)

A: Are there any other plans coming up

Q: no

Answer: good, then MY side retreat

3. Zhangqu Games Company

1. What is c language pointer

2. Multi-threading

ThreadLocal

Redis (five basic data, two persistence methods)

3, SQL

Students, class schedules and so on

4. Distributed transactions

Negotiate salary 20K (higher, wait for news)

4. Ben-li Cat (got the offer)

Dubbo, a zookeeper

College experience

The biggest weakness and strength

What to do

5. 58 Group (Headquarters, Dashanzi)

How to use Dubbo and Zookeeper

Mysql index principle

Mysql index which you have used, clustered index non-clustered index

Mysql leftJoin differs from inner Join

Delete single linked list (handwritten)

Singleton (handwritten)

Other Projects ~

Talk about salary

6. Cica China (Baiziwan)

Mybatis, as well as mybatis paging plug-in, how to not through plug-in handwritten paging, paging principle

Technology recognized, asked the salary, open less than 16K

7. Sheng Xue Growth (Sanyuan Bridge)

Hr side. Recruitment of the development team leader, 3-5 years, and then the technology is no longer, HR asked some questions, do not remember what, waiting for news

Blue Card (International) Health Group

I fell asleep and didn’t go

9. Jingdong (Mobile terminal development group) – server (I was in the wrong department and died. The interviewer answered the phone for more than 20 minutes during the interview, but didn’t say sorry.

1. Introduction of order payment system

2. DNS domain name resolution

BIO and NIO

4. Sliding window protocol

5. Multiplexing

Nginx, load Balancing, F5

7. LVS and CDN

10, where to (the interviewer is very good, ask what can not tell me the answer) (thread and high concurrency I am not very good) GG

Dubbo, a zookeeper

Mysql transaction springMVC transaction

Singleton, multi-instance, springMVC

Mysql index (clustered not clustered)

How to Keep single-thread, multi-transaction Uniqueness (ThreadLocal)

Validate is different from Synchronize

Multithreaded state

redis

11. Beijing Suntech (customer service project of the new team)

There are three teams, Java, Python, front end

Salary 15-19 salary

Ask the project is simple, and what did the university study, one side technology

Second interview with HR, male HR, and then T2

Then hr talked about the salary, and the salary was less than 16K

12. Community Radius (former Vice President lu Zhong of Alibaba, a subsidiary of Zhonghai Investment) (three aspects of technology, two HR)

Asked about the design of the database

How to store the establishment of intelligent link (very satisfied with the answer)

How to design permission management

Mysql index

SpringAOP, mybatis

13. Rongyun (the excellent company was 1.5 hours late and communicated with HR in advance, 14th floor, North Shenzhou Taiyue Building, Beiyuan Road)

The company atmosphere is very good. Interviewer 1 has just set up a team and is in urgent need of recruitment

Java fundamentals, GC for the JVM, and Spring AOP

Then we talked about how to learn Java and how to look at new technologies, new frameworks, how to look at big data

Our view is that data structures and design patterns are the foundation, and everything else is evolution, one in, one out

The interviewer’s boss

Asked me what I like to read, what books I read recently, what foreign writers I like most, what Chinese writers, I answered Dumas and Mo Yan, because I just read these recently

Also get APP listening to books, I especially like

14. Ikang Group (WORKED for 5-10 years, and I was actively sought by HR)

When I asked HR if 10 years was the wrong person to hire, she said the middle and senior level should be hired with the architects

20 minutes late, looking for a long time, passing by the Beijing TV station of The International Trade and the small red building of the APP

The architect asked about the MyBatis caching mechanism, asked about Spring transactions, and asked about the MyBatis transaction principle

To say that I answer questions like an endorsement is too detailed. I said I interviewed 15 places, and this is the 16th and the last

Hr came from Ali, and chatted with me casually over a Popsicle, saying that the company had 150 developers, one chief architect and more than 10 architects.

The chief architect was very good, and no one refused to accept my skills. Then the architect interviewed me, with a nice and gentle attitude, said that I was very similar to their team, with round faces, embarrassed, haha

Question:

1. What do you do and how do you study?

2. When it comes to work, the requirement for employees here is to let employees with 80 points do work with 120 points, so that they can grow faster

Introduce welfare, ask less technology, mainly look at the attitude

15. Damai.com of Ali Group (buying tickets) (Telephone interview, 50 minutes)

Asked me about the project, I happened to do a reward air ticket exchange, HNA project

Mybatis left Join and inner Join

I asked about the Dubbo principle

Asked alipay interface docking details, very detailed

Asked about the details of the financial connection

What is the implementation of springMVC AOP

Others: Yonyou (too far), some small companies… Ofo, Cat’s Eye culture, Gome Online, Boss Zhipin, Daily Priority, Meituan

Conclusion:

After more than two months of interviews, to be honest, it was a little tired at the beginning, but later, you will find that the efforts in front of you are worthwhile. Of the dozen or so companies I interviewed, I found that the big ones were easier, while the smaller ones were more demanding. Just trying to pick a bone in your body. I am a young man with three years of experience. After interviewing dozens of companies, I also received several offers. At last, due to various reasons, I gave up the offers offered by those companies and finally went to Ali, where the job competition is relatively high. So why did I interview so many big factories and get so many offers? In fact, you can do the following.

Number one: Package your own unique resume

Number two: Do your homework about the company

Number three: Learn to ask questions during the interview

# 4: Answer technical questions truthfully (yes, yes, no, no)

The fifth point: to have strong technical knowledge

Sixth: no more excellent technical knowledge, the premise is to have a set of systematic learning system.

The above is my interview experience, among which I have sorted out the interview answers and shared them in the group, interested friends can add my structure group: 697-5797-51

Welcome to forward the collection, thank you ~~~