Tencent T3 boss personally explained! These knowledge points of ByteDance Android R&D post are leaked out internally. Summary of BAT factory interview

I. Introduction

It is now the end of the month in October, and the craze for job hunting and interviews has gradually faded.

When the tide goes up and down, some people get their favorite offer from it; some people take a trip and get nothing, or get little, and are not satisfied; others are watching and waiting for the next opportunity.

Here is an analysis of the current interview market, to take you to understand where you are, and to share useful information to help you improve your combat effectiveness.

Due to the large number of interview questions involved, the length of the space is longer. Based on the frequently asked questions involved in these interview questions, I have summarized and made a roadmap for advanced learning.​​​​​​​ Share with everyone, there is a free way at the end of the article!

java aspect

  • Basic knowledge points The difference between collection classes and applicable scenarios 1 The difference between static internal classes and non-static internal classes in java memory allocation and creation process memory leak problem? How to ensure thread safety? Many times ( must be asked in the interview ) Which types of locking methods (it is best to involve monitor) Optimistic locking and pessimistic locking (applicable scenarios) The concept of applicable scenarios of locks The concept of thread pool constitutes applicable scenarios Why use thread pools (involving thread allocation) The process of resources, and the difference between the process of process allocation of resources)

  • Kernel ( must ask in interview ) GC garbage collection mechanism How does n-time GC find objects to be cleared? What algorithm does GC core cleanup use for the four references and applicable scenarios of java? New generation copy cleaning, old generation mark arranging expansion: How to effectively defragment memory in old generation mark arranging? Java memory structure How is the memory of java distributed? The loading mechanism of java classes The loading mechanism of java objects The generation of constant pool string objects The caching mechanism of Integer

computer network

  • Network hierarchy and corresponding protocols

  • TCP TCP three-way handshake (what happens if no response is received for the first and third time?) TCP waved four times. Congestion control has not been tested?

  • HTTP HTTP message, the difference between HTTP versions, https

  • IP why not use mac as ip address ping implementation principle ttl survival field

  • ARP description process, broadcast unicast

operating system

  • The difference between thread and process (what is the resource allocation)

  • Process communication

  • Memory space allocation

  • Deadlock The conditions of the deadlock (detailed example) Methods to avoid deadlock

Design Patterns

  • Generally speaking, you know which modes you know, and you must explain the applicable scenarios

  • Singleton mode, lazy man, hungry man, thread safety, double lock

  • Observer mode

  • Adapter mode

  • Appearance mode

android aspect (generally asked according to the project)

  • android process communication

  • service

  • handlerThread

  • handler operation mechanism 1 time

  • recyclerView caching mechanism 1 time

  • view redraw

Project aspect

  • Interaction between fragment and activity

  • What is the safety of using webview? And js call each other

  • How to ensure that there is no conflict when reading and writing files in the process of resuming transfer description

  • Asynctask memory leak why the leak solution what is the debugging tool

  • MFCC process recording session (Quick hands asked a lot of details and asked to write pseudo code)

  • MVP

  • The difference between recyclerView and listview caching mechanism too many items will memory leak

At last

This article has been included in the open source project GitHub , which contains self-learning programming routes in different directions, interview question collections/face sutras, and a series of technical articles, etc. The resources are continuously updated...

Part of the information that has been updated so far, if you need to take it yourself:



2794495)]
[External link image transfer...(img-QYfe2VAc-1611302794497)]
[External link image transfer...(img-d1Zyo3sz-1611302794500)]

Guess you like

Origin blog.csdn.net/m0_52308677/article/details/112987485