It is said that there are two kinds of people who are destined to be single in this world, one is too excellent and the other is too ordinary.
I listen to ah? That I this is not outstanding, then resolutely and decisively with the girl friend points hand.
People say that the Internet winter, this time also in a large area of recruitment of the company, is bound to force the company. And at this time the brave job-hopping people, is bound to be awesome.
So I started bytedance’s recruitment interview.
I’ve been preparing for this day all week. A long line the day before the interview with a neat haircut and a clean shave. Dressed in a brand new Balance 999, with brand new socks, dark green overalls and Burgundy hoodie, and a fine black down vest over the top, he appears punctly in front of his computer screen, ready to start his video interview.
“You better be prepared for your interview with Toutiao.”
One piece of advice I got from my buddy at Headline. But the mail to examine the content to write clear, so one side, I did not do too strong psychological construction, did not expect to be the interviewer abuse cry……
Here are the interview questions:
1. Introduce yourself
2. Familiar language, how to learn Java (core technology volume 1 and volume 2 difference) JVM virtual machine
3. Interface and abstract class difference, if a class does not need to be inherited, what should we do, final, then under what circumstances we use final decoration class…
4. InvokeVirtual invokeInteface, why would you think of an abstract class with high efficiency (I said look for bytecode instruction) if it is single inheritance and implement an interface, you should have their own understanding…
5.HashMap equals and hashCode(). What if hashCode is not overridden
6. What is the difference between Exception and Error? Do we have to solve Exception by ourselves
7. Understand generics? Is generic erasure at compile time or load time? How to understand the concept of type erasure
8. The difference between extends and super in generics
9. Thread, network request why to open a new thread
10. There are several cases of ANR
11. Can the UI be operated in the thread
Have you heard of HandlerThread? Do you know what he does
13. Handler principle
14. Do all asynchronous messages end up in the same message queue
15. Mapping between threads and handler, Looper, and MessageQueue
MessageQueue has a linked list structure, which is sorted by time. When the time is up, it will be taken out and blocked before the time is up
17. Talk about dynamic proxies
18. The annotation
19. How do you understand the concept of a subnet mask?
20.Http packet structure, divided into what layers, specific layer to what, send a packet request, give you something to ask you which part of the packet these things in
What are the request methods? Head, Delete. Why are Post packets sent twice? What if there’s no data in the data segment
22 asked glide source related, what picture request framework?
23. Have you seen any source code libraries
24.. What is the difference between an Application and an Activity in the Context inheritance tree? What are the differences in their use?
Data structure and algorithm:
1. Find the maximum distance between two nodes in the binary tree.
2. Find the maximum node distance for any binary tree
3. Create your own ArrayList. Write for ten minutes to implement the core functions, and then we’ll look at it
conclusion
The answer dish of time cannot bear to look directly at simply, but felling again is not difficult, it is a few conventional problems, then be a point all the time delve deeply, ask you not so far, ah head bald……. The whole situation answers badly, oneself knowledge point also did not grasp thoroughly, one side is cool
This is a story I read in a forum. I know that many programmers have a dream of big factories, but how to prepare for the interview of big factories, many programmers are at a loss.
I’m in my sixth year of Android development, and two years after graduation, I was lucky enough to join the Bytedance family. In byte 4 years, witnessed too many people come and go, deeply impressed by a colleague, job-jumping Ali salary direct double, but also see a lot of people plated “Dachang” gold everywhere hit a wall, after all, still fell in the technology!
I may be a success story myself, going from 1-1 to 2-2 in four years, but the tears are for another day. Here I will talk about how to prepare for the interview according to my own opinions.
If you want to reach dachang standards, you need to build a knowledge framework
We learning technology, if not pay attention to set up knowledge framework, learn later you will encounter a problem, just will feel before learning knowledge is very mess, no system, coupled with the industry technology updated quickly, the later study will be more and more knowledge, and learning and scattered themselves without finishing, You will feel that your knowledge is scattered.
It’s like a lot of points, lines that might have been connected, but they just don’t make a surface. When we do a larger project, we need to be familiar with many related technical aspects, even componentization techniques. If you only use a few common technical points for a long time, you are likely to spend a long time moving code in a small company.
How do you frame your knowledge?
The two ways to build knowledge framework shared here are very good ways summed up by a lot of technical masters, depending on your personal preferences!
One: watch video tutorials to build a knowledge framework
This is a general method, which may be more suitable for those who are in the primary to intermediate stage of technology. Of course, HERE I would like to say that I have found that many friends who watch video learning often make such a mistake, which is the squirrel disease caused by the strong desire for video tutorials. What do you mean? Is a lot of friends looking for video tutorials, and a variety of hoarding, at most is the look, the look, feel this or that, so this also want to see, and that also want to see, in the end result is that video tutorial is to collect a lot of, but not a real finished, you say, is that you? (Too true!)
In fact, this is a big no-no in learning technology. It can seriously trick you into thinking you are learning a lot, when in fact you are not only learning a lot, but also slowing down your progress! I told you, on video tutorials, looking for a similar line, is it on the market of the some training video tutorials, are really poor is not poor, that is fine, as long as it’s not disrepair to know this is training course, so is very appropriate to set up knowledge framework, looking for a line, no more benefits, now listen to me, There are several sets of the same type of video tutorial inside the data that see you collect, listen to me, leave one, delete others!
Remember, only one set to frame your knowledge, only one set, one set, one set.
The second kind: search relevant knowledge or path, self-organizing knowledge framework
In fact, this way is relatively high requirements, which requires you to have certain search ability and organization ability, the core of this way is to search the knowledge points you need to learn, and then organize them into a knowledge framework.
You may not understand this, but LET me give you an example. For example, when we learn Android, if we build a knowledge framework by watching videos, we just need to find a set of video tutorials, and then look back and build corresponding folders according to what is said, so as to form our knowledge framework.
The second way, however, doesn’t work that way, because without a video tutorial, you have to search for things like “What should I know about Android?” “, “What Android needs to learn”, “What is the learning path of Android”, and then you will get a lot of answers, there will be a lot of people tell you what to learn first, what to learn and so on, and then find a few answers, you will come up with a learning route, and then according to this route to build the corresponding folder, Then follow the folder order to learn one by one, you can find a separate video tutorial to watch, or you can search a series of blogs to learn, this is much more free.
(If you’re having trouble searching online, I can share a set of Android tutorials byteDance delivered internally.)
1. Advanced UI, custom View
The UI piece of knowledge is the most widely used today. That year the popular Android training, learn this small piece of knowledge can casually find a good job.
But obviously now is far from enough, refused to endless CV, personally to project combat, read the source code, research principle!
2.NDK module development
Today, short video apps are booming. With the rise of short video, audio and video development is getting more and more attention, and the salary is rising. Taking first-tier cities as an example, the salary of audio and video engineering development is 40% higher than that of Android application layer development.
The content mainly involves the following aspects:
- NDK module development
- JNI module
- Native development tools
- Linux programming
- Underlying image processing
- Audio and Video development
- Machine learning
3. Data structure and algorithm
Why study data structures?
This is because all programs are essentially data processing, how to efficiently process data, which depends on the structure of the data itself (such as type (integer, floating point, etc.), dimension, whether it is a complex type (structure type, class type, etc.) and the logical relationship between the data (linear, nonlinear, etc.).
The data structure is inseparable from the algorithm, the design of the data structure is to make the algorithm smooth and convenient implementation.
4.Java advanced and kernel principle
The mainstream language of Android APP development is Java language. The biggest feature of Java language is to improve the possibility of software interaction. It can be said that almost all applications of Android phones are written using Java language.
One hundred percent. All companies, large and small, must ask about Java.
The content mainly involves the following aspects:
- HashMap
- ArrayList
- LinkedList
- Hashset source code analysis
- The memory model
- Garbage Collection algorithm (JVM)
- The difference between garbage collection and calling System.gc()
- Class loading process
- reflection
- Multithreading and thread pools
- Design patterns
- Java generics
And so on…
5. Advancement of Flutter technology
2019 is undoubtedly the year that Flutter technology is in full swing.
Every mobile developer has been fascinated by the features and ideas that Flutter brings with it: “rapid development, expressive and flexible UI, native performance”, from superapps to standalone apps, from pure Flutter to hybrid stacks, Developers have been exploring and applying Flutter technology in a variety of scenarios and are facing a variety of challenges.
Knowledge points of this article:
Create your first Flutter APP. 4. Get started with the Flutter Dart language system
6.360 degree full performance tuning
As product content iterates, features become more complex, and UI pages become richer, it becomes a barrier to smooth operation. To sum up, APP performance optimization has become a comprehensive quality that developers should have, and it is also a guarantee that developers can complete high-quality application works.
1. Design ideas and code quality optimization
2. Program performance optimization
- Optimization of startup speed and execution efficiency
- Layout detection and optimization
- Memory optimization
- Optimize the power consumption
- Network transmission and data storage optimization
- APK size optimization
3. Optimization of development efficiency
- Git, a distributed version control system
- Automated build system Gradle
4. Actual project combat
- startup
- fluency
- The practice of Douyin in APK packet size resource optimization
- Youku responsive layout technology full analysis
- Network optimization
- Mobile Taobao Double 11 performance optimization project revealed
- Autonavi APP full link source code dependency analysis
- Complete the OOM experience sharing
- Wechat Android terminal memory optimization practice
7.Framework refined kernel parsing
As we all know, Android is an operating system based on Linux implementation. But to the Linux kernel, Android is just another application running on top of the kernel, no different than any other application running on top of the kernel.
Therefore, Android also needs a runtime environment, which requires the Linux kernel to load the resources required by the Android Framework after startup. The appropriate APK application can only be started after the Framework has been initialized.
The main contents include:
- In-depth analysis of Binder
- Parsing Handler in depth
- Dalvik VM process system
- Parse WMS in depth
- PackagerManagerService
So that’s the second way to frame your knowledge!
Due to the length of the above complete version of the PDF, if necessary, you can like + comment support me, and then[Click here]Free to read and download.
Then I must emphasize a few points:
-
This knowledge framework does not mean that you organize the order of the knowledge to be learned and then create a corresponding folder. It contains the knowledge that you should actually learn!
-
When you study, make sure you take notes, make sure you take notes, that’s very important
-
Your knowledge framework should end up being a complete hierarchy of folders, with study notes for each folder
Then your knowledge framework is truly complete! At this point, you’ve taken the most critical step toward becoming an Android architect.
With my own knowledge framework, I will be able to handle the interview with ease. Finally, I wish you all a smooth interview and a satisfactory offer!