Headline cool client interview through; algorithm title + JVM + Custom View

Author: Offer + = 100
Links: https://www.nowcoder.com/discuss/363141

  • Self introduction

Algorithm problem:

  • Q: Ascending find Top k subarray length of an array, according to the length of the descending output.
  • Input: [2,1,4,5,8,3,7,10,2,5] k = 2
  • Output: [1,4,5,8], [3,7,10]
  • Idea: Just start talking and the interviewer thinking, I thought it was ascending to identify sub-array elements and then put them inside the descending output, done after the discovery of the wrong understand the meaning of the questions. It means the subject is to find the subarray ascending, descending order according to the length of the subarray output subarray. . .
This path algorithm interview questions have come back to the reference Gangster answer;
this problem can dp, dp byte prefer to test and backtrack

 

Java foundation

  • Talk about the Java Memory Model, JVM memory model
  • HashMap how to achieve
  • Thread wait () and sleep () difference
  • How to achieve thread safety
  • Talk about garbage collection algorithm

 

Android base

  • Android page drawing process
  • Handler how to use the child thread
  • Would be finished ...... cool

 

Interview Replay;

By manufacturers face look more even feel a little monotonous, because no matter to which manufacturers interview, nothing more nothing more than some basic requirements.

For example, the data structure algorithms, Java-based, and custom View and so on. These Are Not every Android developers understand about it?

It is not necessarily true! I even dare say that most people these basic Android developers are not reliable!

Many Android developers are halfway decent, and technology into the bottleneck of work a few years later. The bottleneck is nothing more difficult to upgrade because the foundation is not solid result.

How to enhance the breaking?

Reading the source code? Learn the underlying principles of architecture?

neither!

In fact, the foundation is stuck most advanced Android development of advanced bottleneck. Because after these breakthroughs basis, many do not understand before [it] can understand the technology, so technology will stagnate With the end! This is why manufacturers will be more emphasis on basic interview.

 

to sum up


For programmers, content knowledge to learn, there are too many technical, environmental order not to be eliminated only improve ourselves, always us to adapt to the environment, not the environment to adapt to us!


Here I enclose my collated dozens of sets of Tencent, headlines, Ali, the US group and other companies face questions 19 years , the technology has become a finishing point video and PDF (in fact, spend a lot of time than expected), it contains the knowledge context + many details , due to limited space, here in graphite document in the form of pictures to show you
 

When programmers easily, when a good programmer is a need to learn from junior programmer to senior programmer, architect from primary to senior architect, or to management, technical director from technical manager to each stage We need to have different capabilities. Early to determine their career direction, in order to throw off their peers at work and in capacity building.

  • Whether you now how the level of continuous learning must not chicken soup, others look effortless, in fact, took a very strong, these four words is my advice! ! ! ! ! ! ! ! !
  • I hope that every effort of life IT engineer, will get what we want, because we are very hard, we deserve.

 

Android into advanced and can not claim to go with the flow, it requires effort and perseverance!

Published 50 original articles · won praise 0 · Views 2355

Guess you like

Origin blog.csdn.net/chuhe1989/article/details/104906589