Preface
Unconsciously, I have been developing for several years. I remember that when I first came out to work, I felt like I was awesome, but now I feel so ignorant in retrospect. The more you understand, the less you understand.
If your knowledge is a circle, the larger your circle, the larger the world outside the circle.
Recently I saw many Android novices asking about the Android learning route, learning methods, and how to get started, so I found some information from the Internet, and then I summarized it with my work experience, so that you can avoid detours and extract some of the work often The technology used.
1. Byte beating
-
Talk about process-oriented, object-oriented, and aspect-oriented.
-
The relationship and difference between pointers and arrays.
-
Talk about Android handler.
-
The difference and purpose of queues and stacks.
-
Two stacks implement queues.
-
Enter Url to the browser display process.
-
http request method.
-
The difference between get and post.
-
The difference between surficeView and view.
-
The app starts the whole process from clicking the icon.
-
What is thread safety.
-
What are the mechanisms for thread safety.
-
How to ensure int plus plus (plus sign can not be typed) thread safety.
-
What are the mechanisms for communication between Android threads.
-
What are the cpu scheduling methods.
-
Spatial locality and temporal locality.
-
Optimistic and pessimistic locking of the database.
-
Database index function, advantages and disadvantages.
-
TCP congestion control.
-
https encrypted transmission process.
-
java memory model.
-
What are the java garbage collection algorithms.
-
Talk about the mark removal algorithm.
-
Java four references.
-
Talk about the principle of thread pool
2. Baidu
- Jvm memory model, where are the various data in the class
- Class loading mechanism, process, parent delegation
- Class structure, object header
- gc algorithm and collector
- UNCLE
- How to prevent memory leaks
- volatile, synchronized, read-write lock, reentrant lock, mutual exclusion lock, spin lock
- ThreadLocal
- wait,notify,notifyall
- How is virtual memory implemented in the operating system?
- Realize a TCP connection with socket
- Tree traversal
- Several ways of depth-first traversal
- Use stack to implement pre-order traversal
- What are the data requirements for the time complexity of binary search?
- How do you understand the course of data structure?
- HTTPS,CA
- FTP protocol
- The browser enters the URL to the page display process
- TCP packaging structure
- 7-layer network model
- Information storage method, application scenarios
- The method of inter-process communication, aidl
- Bundler principle
- Handler mechanism
- HandlerThread,IntentService,AsyncTask
- Click event distribution mechanism
- Sliding conflict resolution
- Broadcast registration method, difference
- Orderly and disorderly broadcast, local broadcast
- How to start the service, difference and purpose
- How to use the data provider? principle?
- How is the layout loaded? What are the ways
- Drawing optimization method
- Which source code of third-party libraries have you seen?
####三. Other - Algorithm related interview
- Screen adaptation
- Custom View
- Understanding of event delivery mechanism
- Opengl
- OpenCV
At last
I hope that everyone will have a good attitude. You have to think clearly about what kind of company you want to enter. It is not necessarily a large company, and I am not a mega company. Of course, if you don’t know the choice or plan, choose a big company! I hope that we can choose the company we want to go to before investing or recommending it, instead of having a company that wants me to go! Also, don’t be afraid, don’t be pressured, just treat it with your heart, but be prepared. Finally, I hope everyone can get a satisfactory offer! If you currently have a job, please cherish it and work hard. Finding a job is actually quite tiring and hard.
Attached here are dozens of sets of ByteDance related to the above-mentioned interview questions, interview questions from JD.com, Xiaomi, Tencent, Toutiao, Ali, Meituan and other companies in 19 years. The technical points are organized into videos and PDFs (actually, it took a lot of effort than expected), including knowledge + many details.
Due to limited space, I will show you a small part in the form of pictures. You can click GitHub to get it for free
%A6%82%E4%BD%95%E9%9D%A2%E8%AF%95%E6%8B%BF%E9%AB%98%E8%96%AA%EF%BC%81.md)
[External link pictures are being transferred...(img-G4Yw3KsV-1611475726655)]