The paper come zhongjue shallow, and must know this to practice.

Interview is a topic that everyone can’t avoid. My company is not a small one. I worked as an outsourcing company for two years and became a full-time employee for one year. In the golden nine silver ten interview season also can’t resist to go to the interview. Interview Experience I have never interviewed with a company other than my current one. There is no BAT, meituan, Xiaomi and other big companies here. I just want to write about the process of this interview.

The company I interviewed is a small loan company engaged in Internet finance. It is said to be foreign-invested and has very good welfare benefits. However, it is just starting to recruit core members, relatively high requirements. Since it was a start-up company with the same technical and HR personnel, I was interviewed by a full-stack development engineer.

To make a long story short, here are some of the questions my interviewers asked:

1. Introduce yourself

Self-introduction can be said to be the first step in the formal company interview process, the company to get to know a person is to start from your self-introduction. At this stage, I just briefly mentioned some large projects and technologies I have done in the company since I graduated in 2015. This is based on the individual situation of the free play, here do not do a large length of introduction.

2. Technical q&A

2.1 Vue, React, and Smarty

Back in 8102, when Vue, React, and Angularjs frameworks were the order of the day, my interviewer had some questions. I asked about the Vue life cycle and the transfer of values between the child and parent components, simulating a scenario of modifying data and asking me in which life cycle to call.

As I mentioned on my resume that I also developed with React, the interviewer asked me about the pros and cons of Vue and React. On this issue, I just briefly talked about the characteristics of Vue and React, and mainly talked about my own feelings without in-depth comparison of the differences between them.

How do you understand Vue and the differences between Vue and Smarty templates? Interviews can be really eye-opening, not only to understand your own weaknesses but also to compare various technologies. I haven’t compared these things if the interviewer doesn’t ask me, but I’ll talk about the differences later if I have time.

2.2 HTTP is a stateless protocol. (single)

As a good front-end network engineer, it is necessary to understand the basic HTTP knowledge, but as a front-end novice I ignored this knowledge I review.

After looking up some information on the Internet, I understand why HTTP is a stateless protocol. Stateless is commonly said that the client requests data, and the server does not record or pay attention to this request. If I understand the deviation welcome to give me a message communication.

2.3 How to Understand DOCTYPE

The interviewer suddenly asked me this question, which confused me. This question seems to have been eliminated. I have been in front end for 3 years, which is not very advanced, and I have not used slash-and-burn technology to develop front end web pages. I couldn’t answer the question. It simply tells the browser which language specification is being used.

I found a lot of introductions about these aspects on the Internet. It can be said that the front end is developing rapidly, but don’t forget the most basic knowledge.

2.4 Differences between GET and POST

One of the classic interview questions, answered by feeling but not very in-depth, here is a good answer to the article. A good front end is not just about the appearance, it is about the spirit of research to understand a problem thoroughly so that progress can be made.

2.5 Cross-domain Problems

One of the classic interview questions.

2.6 HTML 5 and CSS 3

HTML5 and CSS3 have been supported by many browsers since 8102 and learning the new specification is a prerequisite for the front end. It is important to understand and use some of the new features of HTML5. My interviewer asked me what are the new features of the H5? Css3 selector has what? Css3 selector weight and priority between them? CSS selector. How to draw the line of a similar electrocardiogram?

2.7 ES6

A brief introduction to the new methods in ES6, in addition to promise, are the asynchronous methods, and the principles of deconstruction.

2.8 Mobile and PC terminals

How to adapt to different resolution and size of mobile terminal, PC terminal ADAPTS to mobile terminal, advantages and disadvantages of self-adaptation and redevelopment of mobile terminal. Use different methods according to different scenarios, and make a case-by-case analysis.

2.9 algorithm

Big data era to test some algorithms? Here is the interviewer’s examination question analysis to you, I hope you can help me to guide the maze.

An integer array, divide it into the same N (integer) slices, the sum of each slice is the same, can find only the slice, if found the so-called N isoctant, print true, otherwise print false.


For example: N=4, input array [2,3,5,1,2,2,1,1,3], slice result is: [2,3], [5], [1,2,2], [1,1,3], so find the so-called 4 equipartite point, the result output is true. Write a method to do this.

The idea is to find the average, and then take the elements in the array that add up to the average. I’m going to have to run out of arrays, and the number of shards is going to be equal to n.

@param {Array} @param {Array}integerArr integer array * @param {Number} n several equal portions * @return { Boolean }  
*/
function isFindAverage(integerArr, n){ 
    if(!integerArr || ! Array.isArray(integerArr) || ! (n-0)){// The input parameter does not meet the requirementsreturn false; } // If the sum cannot average the integer, the fragment must not average const average =integerArr.reduce((prev, curr) => prev + curr) / n; 
if(average ! == parseInt(average)){return false; } // Can be divided into several piecesletresult = 0; // The sum of the current fragmentslet total = 0; 
for (var i = 0; i < integerArr.length; I++) {// if the sum is the average, remove the number of valid integers from the array, increase the number of fragments, and add again from the beginningif(total + integerArr[i] === average){   
        result++;   
        integerArr.splice(i , 1); 
        i = -1;   
        total = 0;
      }else if(total + integerArr[I] < average){// add less than average and continue to add total +=integerArr[i];   
        integerArr.splice(i , 1); i--; }}; // The fragment length must be n and the array must be 0if(result === n && integerArr.length === 0){  
            return true; 
        } 
    return false;
}Copy the code

3. The interviewer’s response

Job hopping can be a very important choice, and at the end of the interview, the interviewer will usually ask if there is anything they want to know. In fact, before the interview, the candidate should have a brief understanding of the company. Do some research online about the company and read about it from the job description. It’s also a good idea to ask in person, because interviews are mutually selective. At this time you can ask what you want to know or do not understand, you can ask the technical problems just now. Others vary from person to person.

4. To summarize

In the future, the front-end work is no longer simple to cut graphs, and the user front-end development of browsing gold is certainly not simple to cut graphs. From the interview, enterprises have improved their recruitment requirements, and developers should improve their skills accordingly, not only to consolidate basic knowledge, but also to learn new knowledge. Being a qualified developer requires constant learning, and no industry is a one-size-fits-all. In fact, the interview is also a way to consolidate their knowledge, go to the interview once in a while can not only understand the technology used by other companies, the direction of attention; It’s also a test of your own learning. If there is any flaw in the article, please help to point out.


The way ahead is so long without ending, yet high and low I’ll search with my will unbending.


Autumn recruit job, writing essay with a gifts | the nuggets technology