March date: 2 bytes beating surface, the US group 2 side Java interview Zhenti summary

Sources from the interview Zhenti network ......

Foreword

Stay home from home almost two months of basic patterns come to an end. Enterprises return to work, everyone's working life finally back on track, I believe many of my friends have been out of the house, against the job-hopping season. Some quick action may have got one or two friends the Offer.

So, for Java developers Kong, in the end how to prepare the technical side of it?

In fact, in addition to skills and interview skills, but nothing more than to prepare from several aspects: the source code reading, JVM, high concurrency, distributed, cluster, middleware, micro-service architecture.

Below are the last byte beating Java interview questions and beauty group, we want to help interview!

Byte beating side:

1. Spring source you read, start to crit.
2.Class.forName () and ClassLoader.loaderClass () What is the difference, start crit * 2 ..
3.ConcurrentHashMap principle, why is thread-safe, allowing you to design how to read and write security
4.Mysql in which the index, which index data structure as you can think of, HashMap, B + tree, prefix tree, the interviewer prompted jump table
Application 5.Spring propagation mechanism of the transaction
6. thread-safe singleton pattern, finish writing DCL static inner classes when wrong, sweat
7. Forward Proxy and Reverse Proxy
8.http is stateful do, tcp it, why http is stateless
9.RPC and micro-services framework to understand it
Summary: one side face for over an hour now, a lot of common interview questions is no column, the column is not previously encountered problems, I feel very great importance to the interviewer thinking skills and the ability to summarize, that is a very profound principles for design and it can be used elsewhere.

Byte beating two faces:

1. First chatted project
2.JVM
3.OOM StackOverflow problem and what is the difference
4. seemed to ask some knowledge of networks
5. Questions, 64 horses, eight track, a minimum ratio of how many games you can find the fastest 4 horses? First, let me 15, 13 and later thought, and finally in the online search of the answer is 11, very interesting a question
Code questions, it is not difficult
Summary: The interviewer projects dihedral talk some more, then the algorithm is the reflection questions and problems, it is also about an hour, then from 6:00 to 8:00 and more directly face, did not eat rice, highlighting a miserable

US group side:

Basic ask is java based, multi-threaded, jvm, redis these, about an hour or so

US group two faces:

1. talk sychronized keyword usage, the underlying implementation, tend to lock, lightweight lock, spin locks
Principle 2. talk biased lock, lock and lightweight process
3. In addition to sychronized, as well as Han, talk ReentrantLock, the underlying inherited a AQS implementation class
4. talk about AQS, volatile modified state, locking procedure, fair and unfair lock lock implementation
And UDP difference 5.TCP
6. The three-way handshake process four times and waved, and why so
7. talk ThreadLocal, why should threadLocal, ThreadLocalMap in, key and value, respectively, which is a strong reference, which is a weak reference, I insist on value are fans of strong references. . .
8. The thread state and a state change process
The difference between the G1 and 9.CMS
10. The dynamic proxy talk in Spring achieved with JDK dynamic proxy interface, the interface is not implemented by the dynamic proxy CGlib, dynamic and static agent agent distinction
11. The common design patterns, principles and applications of the strategy pattern
After the talk, then that project, what had been done, what problems
Code problem: large numbers were added on behalf of two lists, I use two stacks to save the list respectively, then head out of the stack when the interpolation to generate a new list, I feel the time complexity is not the best, but after a

The interviewer explains the job and when the business is very warm and very detailed, then say so on HR notice ~

In general, compared byte beating, the US group interview of a slightly simpler Diudiu, because the bottom will not ask too, too divergent, and the two companies are like the interviewer, very patient and very enthusiastic!

All interview questions are not immutable, especially as this giant, the above interview Zhenti just give you a reference function, the most important thing to their increased reserves of knowledge, be prepared!

No public concern: the programmer Herd, finishing collect information on these Java interview questions!

Finally in the above interview asked to summarize the knowledge of the vast majority of Internet companies face questions related to the Java programmer interview turned into a document for everyone to share, hoping to help review your pre-interview and find a good job , but also saves everyone time online in search of information to learn.

At last

Welcome to share with everyone, like I remember the article I focus a point like yo, thanks for the support!


Guess you like

Origin juejin.im/post/5e7dd9cb6fb9a03c3550ca90
Recommended