当前位置:网站首页>I sorted out a classic interview question for my job hopping friends

I sorted out a classic interview question for my job hopping friends

2022-07-06 02:50:00 Code1994

I believe everyone has started , Today, I specially asked an elder of Tencent for some interview related materials and question brushing notes

Content covered Java Basics 、Android Basics 、UI Control section 、 Network communication 、 Architecture design 、 Performance optimization 、 Source code flow chapter 、 New technology 、 Dachang Mianjing, etc … Very high quality !!!

Don't look at the interview questions .

Whether you want to go for an interview or not recently , I recommend you save it first , I'm sure I can use it later ! The following is part of the information display :

All the above materials are shared free of charge ! If necessary, there is a way to get it at the end of the document ~

《2022 newest Android Summary of advanced interview questions 》

Android The four components are related

Activity And Fragment Several common ways of communication between ?
LaunchMode Application scenarios of ?
BroadcastReceiver And LocalBroadcastReceiver What's the difference? ?
about Context, How much do you know ?
IntentFilter What is it? ? What are the usage scenarios ?
To talk about startService and bindService The difference between , Life cycle and usage scenarios ?
Service How to keep alive ?
A brief introduction ContentProvider How to realize data sharing ?
When switching between horizontal and vertical screens Activity Life cycle of ?
Activity in onNewIntent Method invocation timing and usage scenario ?
Intent Is there a limit on the size of the transmitted data ? How to solve ?
say something ContentProvider、ContentResolver、ContentObserver The relationship between ?
say something Activity Loading process ?

Android The four components are related .jpg

Android Asynchronous task and message mechanism

HandlerThread Usage scenarios and usage ?
IntentService Application scenarios and use gestures ?
AsyncTask Advantages and disadvantages of ?
Talk to you about Activity.runOnUiThread The understanding of the ?
Whether the child thread can update UI? Why? ?
Talk about Handler Mechanism and principle ?
Why create in child thread Handler Would throw exceptions ?
Try to analyze from the perspective of source code Handler Of post and sendMessage Differences of methods and application scenarios ?
Handler There is Loop Dead cycle , Why not block the main thread , What is the principle ?

Android Performance tuning related

Talk to you about Android Understanding of performance optimization ?
Under what circumstances can memory leakage be caused ?
Customize Handler How to effectively avoid memory leakage when ?
What circumstances can lead to oom problem ?
ANR Scenarios and solutions ?
Talk about Android Memory optimization in ?
Talk about the skills of layout optimization ?
Android Picture optimization scheme in ?
Android Native Crash How to analyze and locate the problem ?
Talk about how to give apk Slimming ?
Talk about how you optimize App Of the startup process ?
Talk about the steps of code obfuscation ?
Talk about App Power optimization ?
Talk about how to WebView To optimize ?
How to handle the loading of large drawings ?
Talk about how to optimize network requests ?
Please talk about how to load Bitmap And prevent memory overflow ?

Android Performance tuning related .jpg

Android UI Rendering correlation

Android Make up the difference between animation and attribute animation ?
Window and DecorView What is it? ?DecorView How to communicate with Window To make a connection ?
Briefly Android in UI Refresh mechanism of ?
LinearLayout, FrameLayout,RelativeLayout Which is more efficient , Why? ?
Talk about Android Event distribution mechanism of ?
Talk about customization View The process of ?
in the light of RecyclerView What optimizations have you made ?
Talk about how to optimize ListView?
Talk about customization LayoutManager The process of ?
What is? RemoteViews? What are the use scenarios ?
Talk about getting View Several methods of width and height ?
Talk about interpolator and estimator ?
getDimension、getDimensionPixelOffset and getDimensionPixelSize Differences among the three ?
Please talk about... In the source code StaticLayout Usage and application scenarios ?
used ConstraintLayout Do you ? What are its characteristics ?
About LayoutInflater, How it passes inflate Method to get the specific View Of ?
To talk about Fragment Lazy loading ?
Talk about RecyclerView Cache mechanism ?
Please talk View.inflate and LayoutInflater.inflate The difference between ?
Please talk invalidate() and postInvalidate() Differences of methods and application scenarios ?
Talk about customization View And customization ViewGroup?
To talk about SurfaceView And TextureView Usage scenarios and usage ?
To talk about RecyclerView.Adapter How are the refresh methods different ?
Talk to you about Window and WindowManager The understanding of the ?
To talk about Activity,View,Window The relationship among the three ?
I know WindowInsets Do you ? What applications does it have ?
Android in View Differences between several common displacement modes ?
Why? ViewPager nesting ViewPager, Inside ViewPager Scrolling is not blocked ?
Please talk Fragment Life cycle of ?
Please talk about what is synchronization barrier ?
To talk about ViewDragHelper How it works ?
Talk about the screen refresh mechanism ?

Android UI Rendering correlation .jpg

Kotlin aspect

Please briefly describe what is Kotlin? What are its characteristics ?
Kotlin Notes in @JvmOverloads The role of ?
Kotlin in List And MutableList The difference between ?
Kotlin Several common ways to implement singleton in ?
Talk to you about Kotlin Medium data Keyword understanding ? What are the characteristics compared with ordinary classes ?
What are delegate properties ? Please briefly talk about its usage scenario and principle ?
Please give an example of Kotlin in with And apply Application scenarios and differences of functions ?
Kotlin in Unit The role of type and its relationship with Java in Void The difference between ?
Kotlin in infix The principle and usage scenario of keywords ?
Kotlin What are the visibility modifiers in ? Compared with Java What's the difference? ?
You feel Kotlin And Java What problems should be paid attention to in hybrid development ?
stay Kotlin in , What is deconstruction ? How to use ?
Talk about kotlin Construction method in ? What are the precautions ?
Talk about Kotlin Medium Sequence, Why does it handle collection operations more efficiently ?
Please talk Kotlin Medium Coroutines, What's the difference between it and thread ? What are the advantages ?
Kotlin How to safely handle nullable types ?
say something Kotlin Medium Any And Java Medium Object What are the similarities and differences? ?
Kotlin Does the data type in have implicit conversion ? Why? ?
Kotlin There are several ways to traverse the collection in ?

Kotlin aspect .jpg

Android Medium IPC

Please answer Android Communication between processes ?
Please tell me about you Binder The understanding of mechanism ?
Talk about AIDL?

Android System SDK relevant

Please talk briefly about Android The architecture of the system ?
SharedPreferences Is it thread safe ? its commit and apply What's the difference ?
Serializable and Parcelable The difference between ?
Please give us a brief introduction Android 7.0 New features ?
Talk about ArrayMap and HashMap The difference between ?
In a nutshell LruCache Principle ?
Why recommend SparseArray Instead of HashMap?
PathClassLoader and DexClassLoader What's the difference ?
say something HttpClient And HttpUrlConnection The difference between ? And talk about why the former was replaced ?
What is? Lifecycle? Please analyze its internal principle and usage scenario ?
To talk about Android Signature mechanism of ?
Talk about Android apk Build process ?
Briefly Android 8.0、9.0 What new features have been added ?
Talk about Android10 What has been updated ? How to adapt ?
Please briefly Apk Installation process ?
Java And JS How code is muted ? Have you done relevant optimization ?
What is? JNI? Let's talk about how to realize Java And C++ Intermodulation of ?
Please briefly start by clicking the icon app Startup process ?

Third party framework analysis

To talk about LeakCanray How it works ?
To talk about EventBus Principle ?
Talk about interceptors in network requests (Interceptor)?
To talk about Glide Cache mechanism ?
ViewModel What problems do you want to solve ? And briefly talk about its internal principle ?
Please talk about the dependency injection framework ButterKnife Implementation principle of ?
To talk about RxJava Back pressure principle ?

 Third party framework analysis .jpg

Integrated technology

Please tell me about you MVC and MVP The understanding of the ?
Introduce what you know Android Several storage methods ?
Briefly describe the principle of thermal repair ?
Talk about how to adapt to more models ?
Please talk about how you carry out multi-channel packaging ?
MVP How do you deal with Presenter Layer to prevent memory leakage ?
How to calculate the memory space occupied by a picture ?
Have you met 64k problem , How to solve ?
How to optimize Gradle The speed of building ?
How to get Android Unique equipment ID?
To talk about Android P Ban http What's the impact on our development ?
What is? AOP? stay Android What application scenarios does it have in ?
What is? MVVM? How do you apply it to specific projects ?
Please talk about how you realize data embedding ?
If you realize the breakpoint upload function , What do you think should be done ?
webp and svg What are the characteristics of the pictures in different formats ? How to be in Android Use in ?
Tell me how you do unit testing ? And how to apply it to MVP and MVVM in ?
about GIF What are the ideas and suggestions for image loading ?
Why migrate the project to AndroidX? How to migrate ?

 Integrated technology .jpg

Data structure

What is bubble sorting ? How to optimize ?
Please use Java Implement a simple single linked list ?
How to reverse a single linked list ?
Talk about your understanding of time complexity and space complexity ?
Talk about how to judge a linked list into a ring ?
What is a red-black tree ? Why red black trees ?
What is a quick sort ? How to optimize ?
Talk about circular queues ?
How to judge the cross of single linked list

 Data structure .jpg

Design patterns

Please briefly talk about singleton mode ?
How much do you know about the six basic principles of object orientation ?
Please list several common factory patterns and explain their usage ?
Talk about the design patterns and usage scenarios used in the project ?
What is agent mode ? How to use ?Android Proxy mode in the source code ?
Let's talk about singleton mode , Builder pattern , Usage scenario of factory mode ? How to choose ?
Talk about your understanding of prototype patterns ?
Please talk about the principle of strategy mode and its application scenario ?
The difference between static agent and dynamic agent , What scenarios to use ?
Let's talk about the usage scenario of the responsibility chain model ?

 Design patterns .jpg

Computer network

Please briefly Http And Https The difference between ?
say https,udp,socket difference ?
Please briefly describe http Process of network request ?
To talk about TCP/IP Three handshakes , Four waves ?
Why do you say Http It is a reliable data transmission protocol ?
TCP/IP What are the layers of the agreement ?TCP and HTTP branch
Which floor do you belong to ?

Android Summary catalogue of intermediate and advanced interview questions .png

All the above materials are shared free of charge ! It must be unrealistic to show it all to you , In order not to affect everyone's reading experience, only part of the content is displayed , I hope you will have a better understanding of Haihan . Wechat scan the QR code below , Get information for free

原网站

版权声明
本文为[Code1994]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202132353409232.html