Share the interview experience in the past two weeks

Gold in March and silver in April, coming back from the New Year is the peak period for job-hopping. The restless editor also voted for a few companies, wanting to change jobs and environment. In the past two weeks, I have interviewed four companies, and now I will organize the interview content and share it with you.

A well-known online education company

  1. Comparison of several mainstream players such as VideoView, ExoPlayer, IjkPlayer and Vitamio;
  2. Garbage collection mechanism, JVM memory allocation, how to determine object recyclable;
  3. Algorithm: find the largest 10 numbers among n (very large) unordered numbers;
  4. Talk about memory optimization;
  5. How to decompile and reversely analyze the code;
  6. Customize the View process, the main methods and their respective functions;
  7. How to prevent overdrawing;
  8. LruCache principle;
  9. Event distribution and examples;
  10. Which frameworks have been used for hybrid development, and how did they handle and encapsulate them;
  11. Introduce an open source framework and principles you know;
  12. Talk about your understanding of http caching.

A well-known online question and answer community

  1. The reason why the number of methods in Android cannot exceed 64k, and how to deal with it;
  2. Is there a size limit for the value of Intent, why, and how to deal with it;
  3. How to implement a circular ImageView;
  4. Talk about the role of dynamic proxy;
  5. annotation;
  6. perform or calculate numbers;
  7. Detailed introduction and use of the onMesurse method in View;
  8. How to implement the side sliding deletion of RecyclerView by yourself;
  9. How to make the current label always in the middle of the screen in TabLayout;
  10. garbage collection mechanism;
  11. Life cycle problems when Activity jumps;
  12. Principles of LruCache and DisLruCache;
  13. EventBus principle;
  14. The parameters and working principle of the thread pool;
  15. How to use js intermodulation and what optimization has been done;
  16. Algorithm: Merge Sort

A well-known live broadcast platform

  1. Handwritten code: traverse the file directory;
  2. Algorithm analysis of elevator operation;
  3. Talk about the structure of your own project and how to optimize it;
  4. Algorithm: handwritten bubble sort;
  5. ijkPlayer player source code;
  6. How to handle the gesture control of the video player;
  7. The difference between ArrayList, Vector, and LinkedList;
  8. What problems have you encountered with Fragment?
  9. Image processing and optimization;
  10. Several ways for Android to implement asynchronous;
  11. JVM garbage collection mechanism;
  12. How to perform performance analysis on Android applications;
  13. Introduce an app or open source framework that you appreciate.

A well-known video playback company

  1. Customize the View process;
  2. The advantages and exact points of MVP;
  3. Parent delegation of ClassLoader;
  4. Handwritten implementation of get operation of singly linked list;
  5. What plug-in solutions have been used?
  6. Image processing and caching;
  7. Producer and consumer model;
  8. How to optimize the performance of the application;
  9. The reasons for the occurrence of 64k and how to solve them;
  10. Awareness of ART;
  11. The role of dynamic agents;
  12. Source code analysis of Retrofit and EventBus;
  13. How EventBus is sent sticky;
  14. TextView calls the internal execution process of the setText method;
  15. Knowledge of the thread pool and its several subclasses;

Luckily, the editor got two offers from them (I won't disclose it specifically).

From the interview experience in the past few days, I have a few impressions:

  • Interviews with large factories generally do not ask how a specific function is implemented;

  • The big factory pays more attention to the foundation;

  • Data structures and algorithms are really very important and are the basis of daily work and interviews;

  • We should look at the source code more and understand the internal process, not just stay in the know-how;

I would like to share with you the contents and impressions of the interview in the past two weeks, hoping to be helpful to you.

For more exciting content, please pay attention to my WeChat public account - Android Motor Vehicles

write picture description here

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325407400&siteId=291194637