Small ape circle web sharing - a full-stack web engineer summary of the interview

1, the personal circumstances of
my case first introduced: communications background, work more than a year less than two years. Before've been doing C ++, MFC software interface development work, the company is a downturn in the state-owned Institute (Well, my work experience is water: 1 is in the wrong direction; 2 Industry is biased).
Python is currently looking for back-end development work of this one, the framework used to django; and before the CSDN has been through several other technology blog / forum absorb everyone's experience in more than gratitude, I want to output something for the benefit of everyone, so there was this hydrological, I hope that we can learn a lot of lessons, as soon as possible to find a satisfying jobs!
2, the interview situation
Beijing two start-up companies, the scale were between 40-50 people; husk (stop at the telephone side, retractors vote); know almost (stop at the phone face, pushed back within the forum post); iQIYI (retractors on the cast); Hangzhou Netease (within classmate push).
Interview this one down, it is a greatest feeling: usually have to adhere to the code are code every day. Even then bad projects must adhere to upload github. . Really, as long as you can hold more than five days a week can continue to upload Git, six months down, definitely impress your interviewer.
Other experience: different companies are not the same emphasis, but really like this blog blogger puts it, bucket theory, the piece less. Because I usually only concerned with doing their own little blog system, but did not do the other parts, resulting in iQIYI down in the handwritten code above ... hey, sad. . More than usual brush leetcode, look to prove safety offer / Golden interviews are routine ah ~ ~
Interview / pen interview questions encountered by these companies, the current can remember are as follows. Although it may mostly basic, but that we should not just look at it later, it's best to pretend you asked this question, the answer to you say it or write it :( not divided according to the company)
3, python syntax, and other basic part
1) and the variable immutable.
2) deep shallow copy copy implementation difference;. DeepCopy if you design, how
new new () and init difference () in
. 3) You know several design mode
4) coding and decoding you find out about it.
5) list comprehension list comprehension and builder of the pros and cons.
6) What is the decorator; if after decorated like function, how to do
7). handwriting implement a single decorator embodiment mode
8). decorator singleton and other methods using a single embodiment, in subsequent use, any difference between
9) handwriting: regular mail address
10) introduce the next garbage collection: reference counting / generational recovered / isolated reference ring
. multi-process differs from the multi-threaded, CPU-intensive for 11) What
12) process way to communicate a few. species
. 13) describes the coroutine, why faster than thread
14) and the difference between .range of xrange
4, sorting algorithm part
1) a handwritten quick drain; heap discharge; several commonly used sorting algorithm complexity is the number; fast row the average complexity of how much, how to optimize the worst-case
2) handwriting: a known length n unordered list, the elements are all digital, all the required spacing d of combinations to find out, you write the solution algorithm complexity number
3 .) handwriting: a list of a = [A1, A2, ... , An], the list as required Combinations of print;
4) Handwriting: write one line. 1 + 2 +. 3 Python + ... + 10 **. 8
. 5) handwritten Python: recursively determines whether a string is a palindrome.
6) way. chain length is not known how to determine whether there ring
7) how to use singly linked list to sort quick sort
8) handwriting: a list of length n number of elements of disorder, how to find the median, the median estimate how soon, and 9) the complexity of your algorithm how much;.
10) how to traverse an internal unknown file. clip (two ways-first traversal of the tree)
5, network infrastructure, part
1) .TCP / IP, respectively, in which layer model
2) .socket long connection What does it mean
3) .select epoll and you know it, the difference between what
4) .TCP UDP difference; three-way handshake to talk about the four wave
5) .TIME_WAIT too much because of what
6) .http the whole process once connected: next to you from the user to initiate request-- user receives the Response
7) .http connection. the difference between get and post, you'll also learn about other ways it
8) .restful you know
9). How much do you know the status code, such as 200/403/404/504, etc.
6, database part
1) .MySQL a few locks species; deadlocks is how did it; why and how to partition, partition table;
2) .MySQL difference char varchar text: the
understanding join it, there are several what's the difference, a LEFT JOIN B, the results of the query, how B that is not part of the display (NULL)
3) index types have several differences, BTree index and hash indexes (I did not answer it and maybe differences in the structure of the disk).
4) handwriting: how to query command optimization
5) .NoSQL understand the difference between what, and relational databases, redis there are several common types of memory
7, Linux part
Talk about your favorite Linux / git commands and functions;

View the current process is what order, in addition to file-related operations, as well as what you usually operation command;
(because I am Linux itself is water, only basic operations, so this is basically part of the interviewer did not ask how. anyway, asked to大眼瞪小眼chant)
8, Django part of the project
is to make a simple presentation of your project in the company, whether or not related to the back-end, mainly to reflect what you have done
1). What you encounter in the project hardest part is, how do you solve; you've seen it django's admin source
2) read flask source it, you understand how open source.
3) .mvc / MTV, caching how with middleware is doing
4) .CSRF what it is, how django is avoided, XSS
5). If you come to design login, simply say the idea
6) associated with the difference between .session and a cookie, say why the session safe
7) and Nginx of the role .uWSGI;

Guess you like

Origin blog.csdn.net/weixin_44867000/article/details/91411307