First of all, briefly introduce yourself : Bachelor degree Shandong University , Professional software engineering . No project experience , And I don't have any scientific research competition experience , I participated in an article SCI Paper in investment ( Not the first author , But it's no use ), How many student cadres have you been , The internship has only one internship experience of communication module and mall module , Others have no qualifications to hold hands on .
Today, I was asked to go to Ali for a second exam Python Development , The main project of the company is to do automatic test system . I had breakfast in a hurry in the morning and sat down 20 The subway station leads to the world financial building C1 On the first floor , There's access control , Take your ID card and enter the reservation code on the machine on the first floor , I'll give you a piece of paper with a QR code on it , Brush the QR code and you can go in . There is still access control on the eighth floor , Really speechless , Called Ali's quality department , She just opened the door for me , The working environment is very good . The most important thing is not to talk nonsense , And you can also give yourself a summary of today's interview .
1. First, make a self introduction
2. Ask one question for each project you have done , It is required to elaborate
3.Python Memory management mechanism and garbage cleaning mechanism
4.MySQL How the database inserts or modifies a field
5.Python2 and Python3 The difference between
6.Python3 What code is used ,Python3 Transcoding function
7.Nginx How to use a IP Deployment server
8. List all the methods in the list and Dictionary
9. How to use it js Write multithreading
10.Django How to realize the jump of a page
11.socket There are several ways of programming , How to achieve it
12. Here is a pen , Please list the of this pen 10 Uses
Here I'll make a self summary , The overall question is not too difficult to look back now , I won't answer them one by one . however , Most of the questions are general , Leading to a problem is that we must have the logic of our own answer , Don't be too nervous about the interview or ask broad questions , It's out of proportion .
After reading this article shared by netizens , The feeling is very deep , First of all, he realized that he had many shortcomings , For example, not enough theoretical knowledge, not solid , Lack of practical experience in the project . There's a good saying “ Work with excellent colleagues , You're going to be good ”, Tencent felt suffocating him , But life is like this , If you don't work hard , Always be surpassed , Over time, the opportunity to slack off , Always be at the bottom of the pyramid ; Secondly, we should learn good character , Such as humility 、 rational ; And learn to choose , Choose an industry , Choose a company , Choose a team , No matter work or life , We always face various choices , There is no right or wrong choice , But I will choose , To choose the right direction , Your favorite direction , To go further .
I started from 15 Contact with the field of artificial intelligence , So far, the working years of the algorithm have reached 6 year , He joined the company as an algorithm engineer and won the highest award in the enterprise . During the system work of the Chinese Academy of Sciences , Work for a team of domestic leaders in a certain field , Be responsible for the algorithm part of the committee level project .
Tutor many students to pass the interview and work for Baidu 、 Ping An technology 、 Algorithm posts of Xiaomi, China Unicom and other enterprises . I have my own thinking and rich experience in career guidance and interview skills .
This article mainly aims at the coming school recruitment next year 、 The students of social recruitment are looking for python Related work ,python How to prepare for an interview ? Give my advice , If there are shortcomings , Welcome to leave a message in the comments area !
market environment
Let's talk about the general environment first , China's Internet environment has become more and more stable and mature , But junior high school programmers are still rampant , Senior programmers are missing . So I want to stand out from many candidates , Strength is the king .
Personal positioning
I think , Every recruiter should make a reasonable evaluation of his position in the market , In this way, you can know exactly what type of company you want to find , It's a big company, a big platform , Or small and medium-sized enterprises , Or start-ups ? The basis of the evaluation , It depends on your strength , Direction of career path , And understanding of the market .
But it doesn't matter if you don't know , When delivering to the company, you can vote for all kinds of companies , Large, small and medium-sized companies go to meet , All in all , Don't put the eggs in a basket , Create more opportunities for yourself . An interview is a good way to get in touch with the outside world , The process of understanding your ability level , It can help you have a clearer understanding of the market environment . After the interview, there is usually a rhetorical question session , You can also seize the opportunity , Ask more about what the other company is doing , Technology stack used, etc .
For myself , I regard the interview as a good opportunity to test myself , At the same time, it gives me the opportunity to exchange technology with other companies . So , Usually in the process of work , You can also go out for an interview every three or five times , Look at your ability level , Avoid being disconnected from the market for too long , And boiled frogs in warm water .
resume
The next step is to make a resume , About how to make a resume , There are many tutorials on the Internet . I think the key of technical resume is to do more brilliant projects , And personal technology stack , These are the frequent points asked in the interview . And because I'm obsessed with markdown, For the first time markdown Style resume , It's not bad , It's very clear .
channel
Selection of recruitment channels , If there is a push from a small partner, it is the best , In addition, it is recommended to register more app, Look for interview opportunities in a multi pronged way , For example, pull hook 、boss Direct employment 、 Liepin, etc . The recruitment page of the official website of some companies that want to go , It's also a good source of information .
As a technical interview , How to review and prepare for the interview , I think we can consider the following points .
Data structure and algorithm
Why put this piece in the first place , Because this is very important in technical interview , But the most easily overlooked part of my daily work . All say 「 Interview to build aircraft carrier , Working screw 」, If not algorithmic , Programmers have very limited scenarios for using algorithms in their daily work , But this is a key point of the interview investigation .
I've met about a dozen companies , Basically every company will take some algorithm questions , Or let you talk about your thoughts , Or write the program directly , If not prepared in advance , Will be particularly uncomfortable , Especially the whiteboard algorithm .
therefore , My preparation suggestion is , At least a week before the interview , It takes time to practice algorithm problems , Keep your hand feeling .
First, push leetcode Website , The Chinese station is https://leetcode-cn.com/.leetcode It's a very famous question brushing website , It brings together the classic algorithm problems of major enterprises , And you can submit code online , Custom test case , Check other people's solutions and so on . If you think the solution on the Chinese website doesn't have what you want , You can also take a look at the foreign language station https://leetcode.com/ , Their questions are in the same order , But Chinese stands stronger in localization .
If time is tight , I suggest you focus on the following knowledge points of data structure and algorithm :
All sorts of sorting algorithms , Bubble sort , Heap sort , Quick sorting, etc , Time complexity and space complexity analysis , Can write by hand .
Common data structure . Linked list 、 Binary tree 、 Pile up 、 Stacks and so on .
Classic algorithm problem .( To be sorted out )
Basic knowledge of
Any technical interview , Basic knowledge must be the top priority . about python For a programmer interview , I think the following three pieces are more important , The frequency of investigation is also very high .
The variable object 、 Immutable object 、 Decorator 、 Iterators and generators 、 Threads and processes 、 Magic methods 、 Dynamic interpretive 、 Metaclass, etc .
http request 、 Status code 、 Network security 、django The order in which requests are processed 、cookie and session
mysql The business of 、 Indexes 、 lock 、 performance tuning ,nosql In the database redis I have investigated more .
Project experience
Generally speaking, for fresh students , Basic knowledge is very important . For social recruitment , Project experience is a very important part .
I suggest you can prepare your own project from the following perspectives :
recommend STAR Model .
S——situation, Under what background did the project come into being T——task, What's your mission A——action, What did you do R——result, What is the result?
I believe everyone who has actually done their own project , I'm sure I'll think about my project . Summarize your most difficult part in this project , And the best places , You can also use the above STAR Model .
Some interviewers will ask you to draw the framework or design drawing of the project on white paper , This can also be prepared in advance , Be organized , It's easy to mess up if you draw on the spot .
summary
Interview is a tough battle , I found that in the tense atmosphere of chess , I have never experienced the feeling of so-called extraordinary play , To prepare the 100 branch , Can put the 60 It's already very good to play it out . therefore , It is suggested that every interviewer should put some necessary questions in advance ( Personal introduction 、 Project experience, etc ) Be prepared in advance , And simulate the expression , In case you are nervous and forget your words .
Because both big factories and start-ups will meet , What it feels like to me is , The investigation depth of big factories will be deeper , For example, ask how you use python Locate some memory full 、CPU Full of problems , How do you do it? mysql Performance optimization and so on . Small companies ask more basic questions , And look at a matching degree of your previous experience .
I'm here from my personal interview experience , A selection of python Interview treasure , It's about python All aspects of the interview , You can test it yourself .
( One ) Python Basic grammar
Python What are the characteristics and advantages ?
Explain and compile programming languages briefly ?
Python Types and features of interpreter
python common PEP8 standard
The following binary conversion is realized through code
Ternary operation rules and application scenarios
list Python2 and Python3 The difference between 【Python Basic grammar 】
is and == The difference between
try except Usage and function
Python LEGB The rules
python Simple list de duplication
distinguish break,continue and pass?
What is? python iterator ?
How to be in python Write notes in ?
How to be in python Comment multiple lines in ?
What is? Python Documents in Docstrings?
Python Is it a universal programming language ?
Python How to interpret language ?
What is? pep?
Python What is the namespace in ?
What is? PYTHONPATH?
Python What are the local and global variables in ?
python Is it case sensitive ?
How to be in Windows Installation on Python And set the path variable ?
python Whether indent is required in ?
List Boolean values as False Common values for
How to declare multiple variables and assign values ?
Which one of them is floor division?
What is the maximum possible length of the identifier ?
Why not encourage local variable names starting with an underscore ?
Which of the following is a declaration of invalidity ?
Which of the following is a declaration of invalidity ?
What is the output below ?
a=1, b=2, No intermediate variable exchange a and b Value .
Please write the print out
A、B They are on two islands .B ill ,A Yes B The medicine needed .C There is a boat and a lockable box .C Willing to A and B Transport between , But things can only be put in boxes . As long as the box is not locked ,C Will steal things from the box , No matter what's in the box . If A and B Each has a lock and a key that can only open its own ,A How to deliver things safely to B?
Yes 25 horse , The speed is different , But every horse's speed is set . Now only 5 Tracks , No timing , That is to say, you can only know one game at most 5 The horse's relative speed . Ask at least a few games to find out 25 The fastest horse in the world 3 name ?
Introduce to you except Usage and function of ?
Python in pass What is the function of the sentence ?
Single quotation marks , Double quotes , The difference between three quotation marks
Floating point operation
Introduce to you except Usage and function of ?
Python in pass What is the function of the sentence ?
Invert an integer , for example -123 --> -321
One line of code 1-100 The sum of the
Python- The right way to delete elements when traversing a list
character string “123” convert to 123, Don't use built-in api, for example int()
Find all odd numbers in the list and construct a new list
Use one line python Code writing 1+2+3+10248
python Common list derivation ?
Python in pass What is the function of the sentence ?
How to exchange the values of two variables ?
Python in pass What is the function of the sentence ?
Python Case sensitive ?
Python How long can an identifier in be ?
Python Medium pass What is a statement ?
Explain it. Python Medium //,% and ** Operator
stay Python How many operators are there in ? Explain the arithmetic operator .
Explain it. Python Relational operators in
Explain it. Python Assignment operators in
Explain it. Python Logical operators in
Explain it. Python Member operators in
Explain it. Python The identity operator in
Tell me about Python Bit operators in
stay Python How to use multiple digits in ?
How to declare multiple variables and assign values ?
PYTHONPATH What is a variable ?
stay Python How to declare a comment in ?
What is? Python Connection in (concatenation)?
Please use one line of code The implementation will 1-N The list of integers is in 3 Group units
Avoid escaping which letter to add to the string to represent the original string ?
X What type is it ?
Single quotation marks 、 Double quotes 、 Usage of triple quotation marks
int(“1.4”),int(1.4) Output results ?
list 3 More than PEP8 Coding standards
IOError、AttributeError、ImportError、IndentationError、IndexError、KeyError、SyntaxError、NameError What do they stand for
Sum recursively
Introduce to you except Usage and function of ?
Python in pass What is the function of the sentence ?
Json Serialization , By default, Chinese will be converted to unicode, What if you want to keep Chinese ?
Python Write 9*9 Two simple methods of multiplication tables
( Two ) File operations
Big data file reading
stay python What is the process of compiling and linking in ?
Please write one. Python Logic , Count the number of capital letters in a file
Introduce to you except Usage and function of ?
To open a file c:\ scores.txt Compiling , We use :
What is the output below ?
When to execute try-except-else Of else part ?
sketch with Method to open the processing file to help me what we did ?
use python Delete files and use linux Command delete file method
Write a custom exception code
For example, in the exception module try except else finally The relevance of
IOError、AttributeError、ImportError、IndentationError、IndexError、KeyError、SyntaxError、NameError What do they stand for
r、r+、rb、rb+ File open mode difference
What's the difference between a deep copy and a shallow copy ?
Please write one. Python Logic , Count the number of capital letters in a file
How to use Python Find out which directory you are currently in ?
How to display the contents of a file in reverse order ?
4G How to read a memory 5G The data of ?
Explain os.path and sys.path What do they stand for ?
Python Medium os Common methods of module ?
python Of read() 、readline()、readlines()、xreadlines()
Use the code to view all files in the enumerated directory
How to be in Python Delete files in ?
Design and implement traversal directory and subdirectory , Grab .pyc file
sketch read、readline、readlines The difference between ?
use python Delete files and use linux Command delete file method
sketch with Method to open the processing file to help me what we did ?
Write a custom exception code
( 3、 ... and ) Modules and packages
What is the difference between deep copy and shallow copy ?
How to be in Python Items in the randomization list ?
How to use Python To send mail ?
Python How do I copy an object inside ?( assignment , Shallow copy , Deep copy difference )
Python How to generate random numbers in it ?
Introduce to you Python in webbrowser Usage of ?
Is there a tool that can help you find python Of bug And static code analysis ?
List 5 individual python Standard library
utilize collections Library Counter Method to count the number of occurrences of each word in the string "kjalfj;ldsjafl;hdsllfdhg;lahfbl;hl;ahlf;h"
Generate 0-100 The random number
How to be in Python Create your own package in ?
frequently-used Python What are the standard libraries ?
Enter the date of the year , Judge the day as the day of the year ?( It can be used Python Standard library )
Python Of sys Module common methods ?
Python How do I copy an object inside ?
sketch Python Deep and shallow copies of and application scenarios
How to install a third party module ? And what third-party modules have been used ?
Common modules have those ?
What is? python modular ?Python What are the commonly used built-in modules in ?
How to be in Python To generate a random number ?
range&xrange What's the difference? ?
Python How to generate random numbers in it ?
stay Python How to generate a random number ?
utilize collections Library Counter Method to count the number of occurrences of each word in the string "kjalfj;ldsjafl;hdsllfdhg;lahfbl;hl;ahlf;h"
List 5 individual python Standard library
Generate 0-100 The random number
How to install a third party module ? And what third-party modules have been used ?
Common modules have those ?
( Four ) data type
Python How to realize tuple and list Transformation ?
What's the difference between a list and a tuple ?
What is a negative index , Why use them ?
Single quotation marks , Double quotes , The difference between three quotation marks ?
There are two sequences a,b, All sizes n, The value of a sequence element is an arbitrary integer , disorder ?
Python How long can an identifier in be ?
stay Python How to use multiple digits in ?
What is the de encapsulation of tuples ?
Python in , list, tuple, dict, set What's the difference? , What kind of scenarios are they mainly used in ?
Which of the following statements creates a dictionary ?( Multiple correct answers may )
hypothesis list1 yes [2,33,222,14,25], What is? list1 [-1]?
Single quotation marks , Double quotes , The difference between three quotation marks
How to get a list of all the keys in the dictionary ?
Dictionary how to delete key and merge two dictionaries
python How to realize list de duplication
python What are the built-in data types
python To generate random integers 、 Random decimal 、0–1 Between decimal method
List python Variable data type and immutable data type in , And briefly describe the principle
Dictionaries are sorted by key from small to large
The list derivation finds all odd numbers in the list and constructs a new list ,a = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
a=(1,)b=(1),c=(“1”) What types of data are they ?
Two lists [1,5,7,9] and [2,2,6,8] Merge into [1,2,2,3,6,7,8,9]
[[1,2],[3,4],[5,6]] One line of code expands the list , obtain [1,2,3,4,5,6]
x=“abc”,y=“def”,z=[“d”,“e”,“f”], Find out separately x.join(y) and x.join(z) The result returned
a="hello" and b=" Hello " Code as bytes type
[1,2,3]+[4,5,6] What's the result of ?
Find three ways to print results
Calculate the result of code running ,zip The function history article has said , obtain [(“a”,1),(“b”,2),(“c”,3),(“d”,4),(“e”,5)]
python in copy and deepcopy difference
give an example sort and sorted Sort the list ,list=[0,-1,3,-10,5,9]
Yes list Sort foo = [-5,8,0,4,9,-4,-20,-2,8,2,-4], Use lambda Function from _ Small to large _ Sort
Use lambda Function pair list Sort foo = [-5,8,0,4,9,-4,-20,-2,8,2,-4], The output is
Sorting of list nested dictionaries , Sort by age and name
List nested tuples , In alphabetical and numerical order
List nesting, list sorting , What if the age numbers are the same ?
Sort dictionaries by key ( Method 1 ,zip function )
Sort dictionaries by key ( Method 2 , no need zip)
List derivation 、 Dictionary derivation 、 generator
Finally, a test question , Sort by string length , See if sorting is flexible
python Dictionary and json String conversion method
Finding the intersection of two lists 、 Difference set 、 Combine
python Read from Excel Method of file
The difference between a list and a tuple is ?
Python What is the dictionary in ?
What is a negative index ?
How to scramble the elements of a list in a local way ?
explain Python Medium join() and split() function
How to get a list of all the keys in the dictionary ?
What is the de encapsulation of tuples ?
Python What data types are supported ?
docstring What is it? ?
What is slicing ?
What is? namedtuple ?
stay Python How to convert a string into an integer variable ?
Python The immutable set in (frozenset) What is it? ?
What is iterator ?
Please press alist Of the elements of age Sort from big to small
What will be the output of the following code ?
Write a list generator , Produce a tolerance of 11 Equal difference sequence of
Given two lists , How to find out their same elements and different elements ?
Please write a paragraph python Code implementation deletion list The repeating elements in it ?
Given two list A,B , Please find out with A,B The same and different elements in
Python How to realize tuple and list Transformation ?
Please write a paragraph Python Code implementation delete a list The repeating elements in it
character string 、 list 、 Tuples 、 Every commonly used Dictionary 5 A way ( integer , floating-point , character string , Boolean type , list 、 Tuples 、 Dictionaries 、 aggregate 、 date )
Python How to realize tuple and list Transformation ?
Please write a paragraph Python Code implementation delete a list The repeating elements in it
How to function Set a global variable in it ?
Flattening and dimensionality reduction of the list
If you pass a list into a function , After modification in the function , Will the global list be modified ?
What is? Python Type conversion in ?
Python What's the difference between arrays and lists ?
[:: - 1} What does it mean ?
NumPy What are the operations in Python Function of list ?
According to the dictionary value Value to sort
Dictionary and json The difference between
variable 、 Immutable type
Common string format
String resident mechanism
Delete list Repeat elements in
Enumerate strings 、 list 、 Tuples 、 Dictionary 5 A common way
What is reflection , And application scenarios
The difference between lists and iterators
enumerate The role of
Description array 、 Linked list 、 queue 、 Stack differences ?
…
( 5、 ... and ) Business interview questions
From the front end 、 Back end 、 The database describes web Project performance optimization
We all know that now Python A fire , But for a technology, we should not only know its advantages , Also know its disadvantages , Please talk Python shortcomings .
If you're stuck in a dead circle , How to break it ?
Please talk .pyc Document and .py The difference between files
Please reverse the string “aStr”?
The string “k:1 |k1:2|k2:3|k3:4”, Deal with it as a dictionary {k:1,k1:2,…}
Using slicing , Achieve one trim() function , Remove the space at the beginning and end of the string , Be careful not to call str Of strip() Method .
Please design one decorator, It works on any function , And print the execution time of the function
Explain it. python Of and-or grammar
You're crawling , How to solve anti climbing , How much data to crawl , How long did it take ?
What are these data used for ? How to deliver to the company ? Who is the customer ? Factors affecting crawling data ?
Is there a tool that can help you find python Of bug And static code analysis ?
The way mysql Principle ?
Database index
How to optimize query efficiency in database ?
Simple talk ACID, And explain each feature .
Python What is the main function of ?
Writing method and application scenario of decorator
How to write exception handling and how to actively run out of exceptions ( Application scenarios )
isinstance Functions and application scenarios ?
json Serialization , What types of data can be processed ? How to customize support datetime type ?
Online services may hang up for various reasons ?
How to improve python Operating efficiency
Online services may hang up for various reasons ?
How to improve python Operating efficiency
String operation topic
Introduce Cython,Pypy Cpython Numba What are their shortcomings
Handwriting a decorator for judging time
generator , The difference between iterators ?
Python How do I copy an object inside ?( assignment , Shallow copy , Deep copy difference )
How to determine whether it is a function or a method ?
Why can function names be used as arguments ?
From the front end 、 Back end 、 The database describes web Project performance optimization
python The difference between the new type and the classic type ?
Online services may hang up for various reasons ?
How to improve python Operating efficiency
Python How do I copy an object inside ?( assignment , Shallow copy , Deep copy difference )
How to determine whether it is a function or a method ?
( One ) The metaclass
@property Usage of
new and init The difference between
How to implement a single example
python The order in which to find the properties of an object
What is? init?
Python Medium self What is it? ?
What's the difference between a deep copy and a shallow copy ?
What is monkey patch ?
Dictionary derivation
super The specific usage and scenario of the function
Python Middle class method 、 Class instance method 、 What's the difference between static methods ?
Traverse a object All attributes of , and print Each property name ?
Write a class , And let it support as many operators as possible ?
Please describe the difference and relationship between abstract class and interface class
Python How to dynamically get and set the properties of an object ?
Understanding of design patterns , Briefly describe the design patterns you understand ?
What are the application scenarios of singleton mode ?
Understanding of decorators , And write a decorator for timer recording method execution performance ?
Python The magic method of
What is? Python monkey Patch ?
Read the code below , What is its output ?
Write a single column pattern
What is monkey patch ?
Describe the concept of metaclasses .Python Is there an interface ? Metaclass and Java What are the similarities and differences between the interfaces of ?
( Two ) Memory management and garbage collection mechanism
Python How to manage memory ?
Object's reference counting mechanism
Garbage collection
Memory pool mechanism
When Python Exit time , Why not clear all allocated memory ?
Python How to manage memory ?
python Garbage collection mechanism
When to exit Python Whether to release all memory allocation when ?
How to get any URL or web page Google Cache duration ?
Python Scope of variable in ?( Variable lookup order )
What actions can cause Python out of memory , How to deal with ?
About Python memory management
Python Memory management mechanism and tuning means of ?【 Memory management and garbage collection mechanism 】
What is a memory leak ? How to avoid ?
stay Python How to manage memory in ?
When to exit Python when , Do you want to free all memory ?
Python2 in range and xrange The difference between ?
Shallow copy creates new objects , Its content is not a reference to the original object itself , But the reference of the first layer object in the original object .
python Exchange two values in
Improve python The way to run efficiency
sketch python Reference counting mechanism
Reference counting algorithm
python Garbage collection mechanism
Python How to manage memory
Python How do I copy an object inside ?( assignment , Shallow copy , Deep copy difference )
( 3、 ... and ) function
sketch yield and yield from keyword
Big data file reading
The function and function of decorators
The function and function of decorators
How to be in Python Randomize the elements in the list in ?
What is? pickling and unpickling?
python What is the generator in ?
How do you capitalize the first letter of a string ?
How to convert a string to all lowercase ?
operators Medium is、not and in What's the function of each ?
Python in help() and dir() What is the usage of the function ?
Why use * args,** kwargs?
len() What is the function ?
stay Python in split(),sub(),subn() function .
Python What is the function in ?
What is? lambda function ?
How to delete python The value of the array ?
lambda Expression format and application scenarios
pass The role of
*arg and **kwarg effect
Python Medium yield usage
List common built-in functions
python The maximum number of layers of recursion
What is? lambda function ? What's the advantage of it ?
For programming sort Sort , Then judge from the last element
What is? lambda function ? What's the advantage of it ?
fun(args,kwargs) Medium args,kwargs What do you mean ?
python2 and python3 Of range(100) The difference between
In a word, explain what kind of language can be used with decorators ?
Please write a paragraph Python Code implementation delete a list The repeating elements in it
lambda Anonymous function expression and application scenarios
python The maximum number of recursive levels of
Common built-in functions
filter,map,reduce The role of
What is a closure
Decorator
Statistical function execution efficiency
Yield Keywords and generators
The function and function of decorators
python in yield Usage of ?
Introduce to you Python Next range() Function usage ?
The function and function of decorators
Python Medium yield usage
You know several sorts , Tell me about the one you are most familiar with ?
What is? lambda function ? What's the advantage of it ?
For programming sort Sort , Then judge from the last element
Introduce to you Python Next range() Function usage ?
Python How to generate random numbers in it ?
Have you ever used functools The function in ? What does it do ?
Given an array of arbitrary length , Implement a function
Read the code and what their output is ?
Please write a function that satisfies the following conditions
What is? Hash( Hash function )?
python Function overloading mechanism ?
Write the 4 Principles
Function call parameters are passed by value or by reference ?
Use Python Built in filter() Method to filter ?
Callback function , How to communicate ?
map(lambda x:xx,[y for y in range(3)]) Output ?
hasattr() getattr() setattr() Function usage details ?
In a word, solve the factorial function ?
What is? lambda function ? What are the benefits ?
Conditions for stopping recursive functions ?
python Write an anonymous function to find the sum of two numbers
Explain what a closure is ?
What's the function decorator for ?
hon Next range() Function usage ?
How to remove leading spaces from a string ?
How to convert a string to lowercase ?
stay Python How to get input in ?
How to capitalize the first letter in a string ?
How to check that all characters in a string are alphanumeric ?
What is a function ?
Explain ramda's expression , When will it be used ?
What is recursion ?
What is a generator ?
Please talk about the difference between generator and iterator
function zip() What are you doing ?
explain Python The parameter passing mechanism of
explain Python Medium help() and dir() function
How to calculate the length of a string ?
sketch yield and yield from keyword .
list [1,2,3,4,5], Please use map() Output function [1,4,9,16,25], And use list derivation to extract greater than 10 Number of numbers , Final output [16,25]
python To generate random integers 、 Random decimal 、0–1 Between decimal method
python Examples of interruptions
s = “ajldjlajfdljfddd”, De duplication and sort output from small to large "adfjl"
use lambda Function to multiply two numbers
filter Method to find all the odd numbers in the list and construct a new list ,a = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
log In the log , We need to time stamp it error,warning The time of waiting , Please use datetime The module prints the current timestamp “2018-04-01 11:38:54”
Illustrate with examples zip() The usage function
Find three ways to print results
sketch any() and all() Method
a = " hehheh ", Remove closing spaces
Count the number of times a character appears in a string
String conversion case
There are two ways to remove spaces
lambda Benefits of anonymous functions
python Is the parameter transferred by value or address ?
Please put [i for i in range(3)] Change to generator
You know several sorts , Tell me about the one you are most familiar with ?
Python Medium yield usage
What is? lambda function ? What's the advantage of it ?
For programming sort Sort , Then judge from the last element
Introduce to you Python Next range() Function usage ?
Python How to generate random numbers in it ?
Have you ever used functools The function in ? What does it do ?
sketch yield and yield from keyword .
lambda Expression format and application scenarios
What is? lambda function ? What's the advantage of it ?
For programming sort Sort , Then judge from the last element
( Four ) object-oriented
Multiple inheritance writing and inheritance order
Destructor
Inherit , When executing the destructor , Execute the parent class first , Or execute the subclass first ?
inheritance , Will all methods be inherited ?
Let's talk about the single example mode .
shallow copy And deep copy The difference between
Python Medium self keyword
polymorphic
What are object-oriented depth first and breadth first ?
Object oriented super The role of ?
List magic methods with double underscores in object-oriented ?
Object oriented property attribute 、 Class method 、 Static methods ?
List special members and application scenarios in object-oriented
What is reflection ? And application scenarios ?
Implement singleton mode in as many ways as possible .
Python Yes OOps Concept ?
Python What is the closure in ?
Explain it. Python Inheritance in
Talk about your understanding of object orientation ?
How to implement read-only attributes in object-oriented ?
In this paper, a brief introduction of object-oriented is given new and init difference
How to modify global variables inside a function
List several magic methods and briefly introduce their uses
Explain... With an example Python Inheritance in
Explain it. Python Inheritance in
Python What is the closure in ?
What are object-oriented depth first and breadth first ?
Object oriented super The role of ?
Object oriented property attribute 、 Class method 、 Static methods ?
List special members and application scenarios in object-oriented
What is reflection ? And application scenarios ?
Implement singleton mode in as many ways as possible
The difference between an iterator and a generator
multiple inheritance
As a code worker , For most programmers , There's still a long way to go to become a real money making programmer , Don't slack off for a moment .
We can't get from HR angle , Or technology leader To guess which state of the interview is more favored by the interviewer . But through a lot of interview experience we have accumulated , You can infer some of the necessary conditions for becoming a competitive programmer .
At the beginning, I knew a very, very senior senior in byte , He arrived three years before me , But the level is not very high for various reasons . I asked him , Since you are so dissatisfied with the status quo , Why don't you want to leave and look for better opportunities ?
He thought for a moment and told me , He said I'm not happy here now , But the people I met were excellent . I have a problem , I can also discuss with you . If I go out , If I have another problem , Maybe not even a person to discuss .
I just thought it made sense , Now think back , I feel very deep . Three views 、 pattern 、 Ability , Able to enter large companies , These three aspects are generally not too bad . If nothing else , In terms of personal ability , I have been abroad on business for several months , I was lucky to meet many colleagues from various famous overseas schools , Learn and communicate with them about AI , It really makes me AI Have a deeper understanding of .
In addition to excellent colleagues , Large companies often have a wealth of internal documents and materials . I saw a lot of excellent articles inside the byte , There are also many excellent technical salons and sharing . Now think about it. Two years later , I haven't been there a few times , I haven't read many articles and materials , It's a pity to think about it now . If nothing else , Take the recommended field , In recent years, good quality papers often come from large companies, especially domestic large companies , Tencent 、 Huawei and headlines . In addition to public papers , There are many technical related materials and documents in the company , These can really be said to have a price without a market , Very precious .
Guarantee 100% free
】Python Knowledge Manual
Linux Knowledge Manual
Crawler query manual
and , These data are not scanned , The text inside can be copied directly , It's very easy for us to learn :
Data analysis knowledge manual :
Machine learning knowledge manual :
Financial quantification Knowledge Manual :
Interview information :
We need a lot of front-end jobs 、python Position 、Java Position 、Android and iOS Development position of , Workplace : Beijing byte , Welcome to the school recruitment agency to scan the QR code below Look for me to push inside
If you feel that you are inefficient in your studies , Lack of proper guidance , Rich resources can be added , With a strong learning atmosphere CSDN Let's study and exchange with the official technology circle !
demand : Download the movie fr
Hey, everyone, good duck ! Im