Emmm, I don’t want to leave these things overnight, so I’ll write them down so I don’t forget them when I review them tomorrow
project
What difficulties have you encountered and what techniques have you learned?
Android
- Activity Life cycle: Switch between onSaveInstanceState and onRestoreInstanceState, press the home button for life cycle, call onSaveInstanceState?
- Four Components of Android
- Service Describes the application scenarios
- The differences, understanding, and application scenarios of AsyncTask and HandlerThread. A series of time-consuming tasks (not consecutive), which can take a lot of time? why
- Custom View about the process, notes
- The event distribution mechanism, which gives you a scenario, gives you a rough distribution process when you touch the control
- Database operation, Android operation database process
- ListView, RecycleView difference, advantages and disadvantages
- Animation related, basic use operation
- Why doesn’t the main thread get stuck on the looper.loop () loop
- Why do other time-consuming operations on the main thread cause ANR
java
- The internal operation of hashCode(), compared to equals()
- A HashMap, HashSet
- ArrayList, and LinkedList
- Thread-safe collection
- Notes, meaning, principles
The operating system
- Process, thread
Calculation of the network
- TCP, UDP, differences, specific application scenarios, name a few. Call?? UDP??
algorithm
- Quicksort, implementation process, time complexity (worst, best, specific data for example), how to calculate time complexity
- Find the second largest number in an array. The more methods, the better.
conclusion
Just finished the interview to remember this point, brain… Generally speaking, it’s thin. List it now, just like the feeling of looking at the text on the computer during normal study – basic and simple. Emmm, in fact, I know that I am too shallow without asking the interviewer. Do not really know the interview, basic knowledge to understand the thin broken, ask a bit deeper, specific use? Scenario examples? I hemmed and hawed for a long time… And that algorithm, which I wish I had, is the second largest, not the KTH largest. I also swiped Leetcode and I just said sort and my mind went blank. Now if you think about it casually, take two temporary variables, iterate over each number and compare it to two temporary variables, the larger one is left, and the smaller of the last two temporary variables is… Emmm this is no different from finding the largest number. I’m so…
In fact, the original learning of these knowledge points when I have some vague feeling, too many knowledge points, in order to catch up with the possible interview, just read a series of articles, also rarely have their own thinking, always feel that although has been learning, but the feeling is in the paper, closed. In the future, I will write demo, implement functions, think, summarize, even if it is slow, but also down-to-earth. Not speed, just quality… My first interview was a real blow
In addition, the interviewer is really very good and patient, listen to me in that mess of a meal operation, always said that it is ok not to know… Cry liao