程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
您现在的位置: 程式師世界 >> 編程語言 >  >> 更多編程語言 >> Python

Ali was refused to leave with tears. Interviewer: Python development doesnt even understand these things. Its no use crying

編輯:Python

Self introduction.

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 .

Interview experience ( Total use time 1 Hours )

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 .

Share readers

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 !

Before the interview

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 .

Interview preparation

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 :

  1. All sorts of sorting algorithms , Bubble sort , Heap sort , Quick sorting, etc , Time complexity and space complexity analysis , Can write by hand .

  2. Common data structure . Linked list 、 Binary tree 、 Pile up 、 Stacks and so on .

  3. 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 .

  1. Language foundation

The variable object 、 Immutable object 、 Decorator 、 Iterators and generators 、 Threads and processes 、 Magic methods 、 Dynamic interpretive 、 Metaclass, etc .

  1. web Basics

http request 、 Status code 、 Network security 、django The order in which requests are processed 、cookie and session

  1. database

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 :

  1. Project introduction

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?

  1. Difficulties in the project 、 Sparkle point

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 .

  1. The project framework

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 .

The real question of the interview

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 .

python Brush problem

One 、Python Basics

( One ) Python Basic grammar

  1. Python What are the characteristics and advantages ?

  2. Explain and compile programming languages briefly ?

  3. Python Types and features of interpreter

  4. python common PEP8 standard

  5. The following binary conversion is realized through code

  6. Ternary operation rules and application scenarios

  7. list Python2 and Python3 The difference between 【Python Basic grammar 】

  8. is and == The difference between

  9. try except Usage and function

  10. Python LEGB The rules

  11. python Simple list de duplication

  12. distinguish break,continue and pass?

  13. What is? python iterator ?

  14. How to be in python Write notes in ?

  15. How to be in python Comment multiple lines in ?

  16. What is? Python Documents in Docstrings?

  17. Python Is it a universal programming language ?

  18. Python How to interpret language ?

  19. What is? pep?

  20. Python What is the namespace in ?

  21. What is? PYTHONPATH?

  22. Python What are the local and global variables in ?

  23. python Is it case sensitive ?

  24. How to be in Windows Installation on Python And set the path variable ?

  25. python Whether indent is required in ?

  26. List Boolean values as False Common values for

  27. How to declare multiple variables and assign values ?

  28. Which one of them is floor division?

  29. What is the maximum possible length of the identifier ?

  30. Why not encourage local variable names starting with an underscore ?

  31. Which of the following is a declaration of invalidity ?

  32. Which of the following is a declaration of invalidity ?

  33. What is the output below ?

  34. a=1, b=2, No intermediate variable exchange a and b Value .

  35. Please write the print out

  36. 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?

  37. 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 ?

  38. Introduce to you except Usage and function of ?

  39. Python in pass What is the function of the sentence ?

  40. Single quotation marks , Double quotes , The difference between three quotation marks

  41. Floating point operation

  42. Introduce to you except Usage and function of ?

  43. Python in pass What is the function of the sentence ?

  44. Invert an integer , for example -123 --> -321

  45. One line of code 1-100 The sum of the

  46. Python- The right way to delete elements when traversing a list

  47. character string “123” convert to 123, Don't use built-in api, for example int()

  48. Find all odd numbers in the list and construct a new list

  49. Use one line python Code writing 1+2+3+10248

  50. python Common list derivation ?

  51. Python in pass What is the function of the sentence ?

  52. How to exchange the values of two variables ?

  53. Python in pass What is the function of the sentence ?

  54. Python Case sensitive ?

  55. Python How long can an identifier in be ?

  56. Python Medium pass What is a statement ?

  57. Explain it. Python Medium //,% and ** Operator

  58. stay Python How many operators are there in ? Explain the arithmetic operator .

  59. Explain it. Python Relational operators in

  60. Explain it. Python Assignment operators in

  61. Explain it. Python Logical operators in

  62. Explain it. Python Member operators in

  63. Explain it. Python The identity operator in

  64. Tell me about Python Bit operators in

  65. stay Python How to use multiple digits in ?

  66. How to declare multiple variables and assign values ?

  67. PYTHONPATH What is a variable ?

  68. stay Python How to declare a comment in ?

  69. What is? Python Connection in (concatenation)?

  70. Please use one line of code The implementation will 1-N The list of integers is in 3 Group units

  71. Avoid escaping which letter to add to the string to represent the original string ?

  72. X What type is it ?

  73. Single quotation marks 、 Double quotes 、 Usage of triple quotation marks

  74. int(“1.4”),int(1.4) Output results ?

  75. list 3 More than PEP8 Coding standards

  76. IOError、AttributeError、ImportError、IndentationError、IndexError、KeyError、SyntaxError、NameError What do they stand for

  77. Sum recursively

  78. Introduce to you except Usage and function of ?

  79. Python in pass What is the function of the sentence ?

  80. Json Serialization , By default, Chinese will be converted to unicode, What if you want to keep Chinese ?

  81. Python Write 9*9 Two simple methods of multiplication tables

( Two ) File operations

  1. Big data file reading

  2. stay python What is the process of compiling and linking in ?

  3. Please write one. Python Logic , Count the number of capital letters in a file

  4. Introduce to you except Usage and function of ?

  5. To open a file c:\ scores.txt Compiling , We use :

  6. What is the output below ?

  7. When to execute try-except-else Of else part ?

  8. sketch with Method to open the processing file to help me what we did ?

  9. use python Delete files and use linux Command delete file method

  10. Write a custom exception code

  11. For example, in the exception module try except else finally The relevance of

  12. IOError、AttributeError、ImportError、IndentationError、IndexError、KeyError、SyntaxError、NameError What do they stand for

  13. r、r+、rb、rb+ File open mode difference

  14. What's the difference between a deep copy and a shallow copy ?

  15. Please write one. Python Logic , Count the number of capital letters in a file

  16. How to use Python Find out which directory you are currently in ?

  17. How to display the contents of a file in reverse order ?

  18. 4G How to read a memory 5G The data of ?

  19. Explain os.path and sys.path What do they stand for ?

  20. Python Medium os Common methods of module ?

  21. python Of read() 、readline()、readlines()、xreadlines()

  22. Use the code to view all files in the enumerated directory

  23. How to be in Python Delete files in ?

  24. Design and implement traversal directory and subdirectory , Grab .pyc file

  25. sketch read、readline、readlines The difference between ?

  26. use python Delete files and use linux Command delete file method

  27. sketch with Method to open the processing file to help me what we did ?

  28. Write a custom exception code

( 3、 ... and ) Modules and packages

  1. What is the difference between deep copy and shallow copy ?

  2. How to be in Python Items in the randomization list ?

  3. How to use Python To send mail ?

  4. Python How do I copy an object inside ?( assignment , Shallow copy , Deep copy difference )

  5. Python How to generate random numbers in it ?

  6. Introduce to you Python in webbrowser Usage of ?

  7. Is there a tool that can help you find python Of bug And static code analysis ?

  8. List 5 individual python Standard library

  9. utilize collections Library Counter Method to count the number of occurrences of each word in the string "kjalfj;ldsjafl;hdsllfdhg;lahfbl;hl;ahlf;h"

  10. Generate 0-100 The random number

  11. How to be in Python Create your own package in ?

  12. frequently-used Python What are the standard libraries ?

  13. Enter the date of the year , Judge the day as the day of the year ?( It can be used Python Standard library )

  14. Python Of sys Module common methods ?

  15. Python How do I copy an object inside ?

  16. sketch Python Deep and shallow copies of and application scenarios

  17. How to install a third party module ? And what third-party modules have been used ?

  18. Common modules have those ?

  19. What is? python modular ?Python What are the commonly used built-in modules in ?

  20. How to be in Python To generate a random number ?

  21. range&xrange What's the difference? ?

  22. Python How to generate random numbers in it ?

  23. stay Python How to generate a random number ?

  24. utilize collections Library Counter Method to count the number of occurrences of each word in the string "kjalfj;ldsjafl;hdsllfdhg;lahfbl;hl;ahlf;h"

  25. List 5 individual python Standard library

  26. Generate 0-100 The random number

  27. How to install a third party module ? And what third-party modules have been used ?

  28. Common modules have those ?

( Four ) data type

  1. Python How to realize tuple and list Transformation ?

  2. What's the difference between a list and a tuple ?

  3. What is a negative index , Why use them ?

  4. Single quotation marks , Double quotes , The difference between three quotation marks ?

  5. There are two sequences a,b, All sizes n, The value of a sequence element is an arbitrary integer , disorder ?

  6. Python How long can an identifier in be ?

  7. stay Python How to use multiple digits in ?

  8. What is the de encapsulation of tuples ?

  9. Python in , list, tuple, dict, set What's the difference? , What kind of scenarios are they mainly used in ?

  10. Which of the following statements creates a dictionary ?( Multiple correct answers may )

  11. hypothesis list1 yes [2,33,222,14,25], What is? list1 [-1]?

  12. Single quotation marks , Double quotes , The difference between three quotation marks

  13. How to get a list of all the keys in the dictionary ?

  14. Dictionary how to delete key and merge two dictionaries

  15. python How to realize list de duplication

  16. python What are the built-in data types

  17. python To generate random integers 、 Random decimal 、0–1 Between decimal method

  18. List python Variable data type and immutable data type in , And briefly describe the principle

  19. Dictionaries are sorted by key from small to large

  20. 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]

  21. a=(1,)b=(1),c=(“1”) What types of data are they ?

  22. Two lists [1,5,7,9] and [2,2,6,8] Merge into [1,2,2,3,6,7,8,9]

  23. [[1,2],[3,4],[5,6]] One line of code expands the list , obtain [1,2,3,4,5,6]

  24. x=“abc”,y=“def”,z=[“d”,“e”,“f”], Find out separately x.join(y) and x.join(z) The result returned

  25. a="hello" and b=" Hello " Code as bytes type

  26. [1,2,3]+[4,5,6] What's the result of ?

  27. Find three ways to print results

  28. Calculate the result of code running ,zip The function history article has said , obtain [(“a”,1),(“b”,2),(“c”,3),(“d”,4),(“e”,5)]

  29. python in copy and deepcopy difference

  30. give an example sort and sorted Sort the list ,list=[0,-1,3,-10,5,9]

  31. Yes list Sort foo = [-5,8,0,4,9,-4,-20,-2,8,2,-4], Use lambda Function from _ Small to large _ Sort

  32. Use lambda Function pair list Sort foo = [-5,8,0,4,9,-4,-20,-2,8,2,-4], The output is

  33. Sorting of list nested dictionaries , Sort by age and name

  34. List nested tuples , In alphabetical and numerical order

  35. List nesting, list sorting , What if the age numbers are the same ?

  36. Sort dictionaries by key ( Method 1 ,zip function )

  37. Sort dictionaries by key ( Method 2 , no need zip)

  38. List derivation 、 Dictionary derivation 、 generator

  39. Finally, a test question , Sort by string length , See if sorting is flexible

  40. python Dictionary and json String conversion method

  41. Finding the intersection of two lists 、 Difference set 、 Combine

  42. python Read from Excel Method of file

  43. The difference between a list and a tuple is ?

  44. Python What is the dictionary in ?

  45. What is a negative index ?

  46. How to scramble the elements of a list in a local way ?

  47. explain Python Medium join() and split() function

  48. How to get a list of all the keys in the dictionary ?

  49. What is the de encapsulation of tuples ?

  50. Python What data types are supported ?

  51. docstring What is it? ?

  52. What is slicing ?

  53. What is? namedtuple ?

  54. stay Python How to convert a string into an integer variable ?

  55. Python The immutable set in (frozenset) What is it? ?

  56. What is iterator ?

  57. Please press alist Of the elements of age Sort from big to small

  58. What will be the output of the following code ?

  59. Write a list generator , Produce a tolerance of 11 Equal difference sequence of

  60. Given two lists , How to find out their same elements and different elements ?

  61. Please write a paragraph python Code implementation deletion list The repeating elements in it ?

  62. Given two list A,B , Please find out with A,B The same and different elements in

  63. Python How to realize tuple and list Transformation ?

  64. Please write a paragraph Python Code implementation delete a list The repeating elements in it

  65. character string 、 list 、 Tuples 、 Every commonly used Dictionary 5 A way ( integer , floating-point , character string , Boolean type , list 、 Tuples 、 Dictionaries 、 aggregate 、 date )

  66. Python How to realize tuple and list Transformation ?

  67. Please write a paragraph Python Code implementation delete a list The repeating elements in it

  68. How to function Set a global variable in it ?

  69. Flattening and dimensionality reduction of the list

  70. If you pass a list into a function , After modification in the function , Will the global list be modified ?

  71. What is? Python Type conversion in ?

  72. Python What's the difference between arrays and lists ?

  73. [:: - 1} What does it mean ?

  74. NumPy What are the operations in Python Function of list ?

  75. According to the dictionary value Value to sort

  76. Dictionary and json The difference between

  77. variable 、 Immutable type

  78. Common string format

  79. String resident mechanism

  80. Delete list Repeat elements in

  81. Enumerate strings 、 list 、 Tuples 、 Dictionary 5 A common way

  82. What is reflection , And application scenarios

  83. The difference between lists and iterators

  84. enumerate The role of

  85. Description array 、 Linked list 、 queue 、 Stack differences ?

( 5、 ... and ) Business interview questions

  1. From the front end 、 Back end 、 The database describes web Project performance optimization

  2. 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 .

  3. If you're stuck in a dead circle , How to break it ?

  4. Please talk .pyc Document and .py The difference between files

  5. Please reverse the string “aStr”?

  6. The string “k:1 |k1:2|k2:3|k3:4”, Deal with it as a dictionary {k:1,k1:2,…}

  7. 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 .

  8. Please design one decorator, It works on any function , And print the execution time of the function

  9. Explain it. python Of and-or grammar

  10. You're crawling , How to solve anti climbing , How much data to crawl , How long did it take ?

  11. What are these data used for ? How to deliver to the company ? Who is the customer ? Factors affecting crawling data ?

  12. Is there a tool that can help you find python Of bug And static code analysis ?

  13. The way mysql Principle ?

  14. Database index

  15. How to optimize query efficiency in database ?

  16. Simple talk ACID, And explain each feature .

  17. Python What is the main function of ?

  18. Writing method and application scenario of decorator

  19. How to write exception handling and how to actively run out of exceptions ( Application scenarios )

  20. isinstance Functions and application scenarios ?

  21. json Serialization , What types of data can be processed ? How to customize support datetime type ?

  22. Online services may hang up for various reasons ?

  23. How to improve python Operating efficiency

  24. Online services may hang up for various reasons ?

  25. How to improve python Operating efficiency

  26. String operation topic

  27. Introduce Cython,Pypy Cpython Numba What are their shortcomings

  28. Handwriting a decorator for judging time

  29. generator , The difference between iterators ?

  30. Python How do I copy an object inside ?( assignment , Shallow copy , Deep copy difference )

  31. How to determine whether it is a function or a method ?

  32. Why can function names be used as arguments ?

  33. From the front end 、 Back end 、 The database describes web Project performance optimization

  34. python The difference between the new type and the classic type ?

  35. Online services may hang up for various reasons ?

  36. How to improve python Operating efficiency

  37. Python How do I copy an object inside ?( assignment , Shallow copy , Deep copy difference )

  38. How to determine whether it is a function or a method ?

Two 、Python senior

( One ) The metaclass

  1. @property Usage of

  2. new and init The difference between

  3. How to implement a single example

  4. python The order in which to find the properties of an object

  5. What is? init?

  6. Python Medium self What is it? ?

  7. What's the difference between a deep copy and a shallow copy ?

  8. What is monkey patch ?

  9. Dictionary derivation

  10. super The specific usage and scenario of the function

  11. Python Middle class method 、 Class instance method 、 What's the difference between static methods ?

  12. Traverse a object All attributes of , and print Each property name ?

  13. Write a class , And let it support as many operators as possible ?

  14. Please describe the difference and relationship between abstract class and interface class

  15. Python How to dynamically get and set the properties of an object ?

  16. Understanding of design patterns , Briefly describe the design patterns you understand ?

  17. What are the application scenarios of singleton mode ?

  18. Understanding of decorators , And write a decorator for timer recording method execution performance ?

  19. Python The magic method of

  20. What is? Python monkey Patch ?

  21. Read the code below , What is its output ?

  22. Write a single column pattern

  23. What is monkey patch ?

  24. 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

  1. Python How to manage memory ?

  2. Object's reference counting mechanism

  3. Garbage collection

  4. Memory pool mechanism

  5. When Python Exit time , Why not clear all allocated memory ?

  6. Python How to manage memory ?

  7. python Garbage collection mechanism

  8. When to exit Python Whether to release all memory allocation when ?

  9. How to get any URL or web page Google Cache duration ?

  10. Python Scope of variable in ?( Variable lookup order )

  11. What actions can cause Python out of memory , How to deal with ?

  12. About Python memory management

  13. Python Memory management mechanism and tuning means of ?【 Memory management and garbage collection mechanism 】

  14. What is a memory leak ? How to avoid ?

  15. stay Python How to manage memory in ?

  16. When to exit Python when , Do you want to free all memory ?

  17. Python2 in range and xrange The difference between ?

  18. 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 .

  19. python Exchange two values in

  20. Improve python The way to run efficiency

  21. sketch python Reference counting mechanism

  22. Reference counting algorithm

  23. python Garbage collection mechanism

  24. Python How to manage memory

  25. Python How do I copy an object inside ?( assignment , Shallow copy , Deep copy difference )

( 3、 ... and ) function

  1. sketch yield and yield from keyword

  2. Big data file reading

  3. The function and function of decorators

  4. The function and function of decorators

  5. How to be in Python Randomize the elements in the list in ?

  6. What is? pickling and unpickling?

  7. python What is the generator in ?

  8. How do you capitalize the first letter of a string ?

  9. How to convert a string to all lowercase ?

  10. operators Medium is、not and in What's the function of each ?

  11. Python in help() and dir() What is the usage of the function ?

  12. Why use * args,** kwargs?

  13. len() What is the function ?

  14. stay Python in split(),sub(),subn() function .

  15. Python What is the function in ?

  16. What is? lambda function ?

  17. How to delete python The value of the array ?

  18. lambda Expression format and application scenarios

  19. pass The role of

  20. *arg and **kwarg effect

  21. Python Medium yield usage

  22. List common built-in functions

  23. python The maximum number of layers of recursion

  24. What is? lambda function ? What's the advantage of it ?

  25. For programming sort Sort , Then judge from the last element

  26. What is? lambda function ? What's the advantage of it ?

  27. fun(args,kwargs) Medium args,kwargs What do you mean ?

  28. python2 and python3 Of range(100) The difference between

  29. In a word, explain what kind of language can be used with decorators ?

  30. Please write a paragraph Python Code implementation delete a list The repeating elements in it

  31. lambda Anonymous function expression and application scenarios

  32. python The maximum number of recursive levels of

  33. Common built-in functions

  34. filter,map,reduce The role of

  35. What is a closure

  36. Decorator

  37. Statistical function execution efficiency

  38. Yield Keywords and generators

  39. The function and function of decorators

  40. python in yield Usage of ?

  41. Introduce to you Python Next range() Function usage ?

  42. The function and function of decorators

  43. Python Medium yield usage

  44. You know several sorts , Tell me about the one you are most familiar with ?

  45. What is? lambda function ? What's the advantage of it ?

  46. For programming sort Sort , Then judge from the last element

  47. Introduce to you Python Next range() Function usage ?

  48. Python How to generate random numbers in it ?

  49. Have you ever used functools The function in ? What does it do ?

  50. Given an array of arbitrary length , Implement a function

  51. Read the code and what their output is ?

  52. Please write a function that satisfies the following conditions

  53. What is? Hash( Hash function )?

  54. python Function overloading mechanism ?

  55. Write the 4 Principles

  56. Function call parameters are passed by value or by reference ?

  57. Use Python Built in filter() Method to filter ?

  58. Callback function , How to communicate ?

  59. map(lambda x:xx,[y for y in range(3)]) Output ?

  60. hasattr() getattr() setattr() Function usage details ?

  61. In a word, solve the factorial function ?

  62. What is? lambda function ? What are the benefits ?

  63. Conditions for stopping recursive functions ?

  64. python Write an anonymous function to find the sum of two numbers

  65. Explain what a closure is ?

  66. What's the function decorator for ?

  67. hon Next range() Function usage ?

  68. How to remove leading spaces from a string ?

  69. How to convert a string to lowercase ?

  70. stay Python How to get input in ?

  71. How to capitalize the first letter in a string ?

  72. How to check that all characters in a string are alphanumeric ?

  73. What is a function ?

  74. Explain ramda's expression , When will it be used ?

  75. What is recursion ?

  76. What is a generator ?

  77. Please talk about the difference between generator and iterator

  78. function zip() What are you doing ?

  79. explain Python The parameter passing mechanism of

  80. explain Python Medium help() and dir() function

  81. How to calculate the length of a string ?

  82. sketch yield and yield from keyword .

  83. 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]

  84. python To generate random integers 、 Random decimal 、0–1 Between decimal method

  85. python Examples of interruptions

  86. s = “ajldjlajfdljfddd”, De duplication and sort output from small to large "adfjl"

  87. use lambda Function to multiply two numbers

  88. 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]

  89. 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

  90. Illustrate with examples zip() The usage function

  91. Find three ways to print results

  92. sketch any() and all() Method

  93. a = " hehheh ", Remove closing spaces

  94. Count the number of times a character appears in a string

  95. String conversion case

  96. There are two ways to remove spaces

  97. lambda Benefits of anonymous functions

  98. python Is the parameter transferred by value or address ?

  99. Please put [i for i in range(3)] Change to generator

  100. You know several sorts , Tell me about the one you are most familiar with ?

  101. Python Medium yield usage

  102. What is? lambda function ? What's the advantage of it ?

  103. For programming sort Sort , Then judge from the last element

  104. Introduce to you Python Next range() Function usage ?

  105. Python How to generate random numbers in it ?

  106. Have you ever used functools The function in ? What does it do ?

  107. sketch yield and yield from keyword .

  108. lambda Expression format and application scenarios

  109. What is? lambda function ? What's the advantage of it ?

  110. For programming sort Sort , Then judge from the last element

( Four ) object-oriented

  1. Multiple inheritance writing and inheritance order

  2. Destructor

  3. Inherit , When executing the destructor , Execute the parent class first , Or execute the subclass first ?

  4. inheritance , Will all methods be inherited ?

  5. Let's talk about the single example mode .

  6. shallow copy And deep copy The difference between

  7. Python Medium self keyword

  8. polymorphic

  9. What are object-oriented depth first and breadth first ?

  10. Object oriented super The role of ?

  11. List magic methods with double underscores in object-oriented ?

  12. Object oriented property attribute 、 Class method 、 Static methods ?

  13. List special members and application scenarios in object-oriented

  14. What is reflection ? And application scenarios ?

  15. Implement singleton mode in as many ways as possible .

  16. Python Yes OOps Concept ?

  17. Python What is the closure in ?

  18. Explain it. Python Inheritance in

  19. Talk about your understanding of object orientation ?

  20. How to implement read-only attributes in object-oriented ?

  21. In this paper, a brief introduction of object-oriented is given new and init difference

  22. How to modify global variables inside a function

  23. List several magic methods and briefly introduce their uses

  24. Explain... With an example Python Inheritance in

  25. Explain it. Python Inheritance in

  26. Python What is the closure in ?

  27. What are object-oriented depth first and breadth first ?

  28. Object oriented super The role of ?

  29. Object oriented property attribute 、 Class method 、 Static methods ?

  30. List special members and application scenarios in object-oriented

  31. What is reflection ? And application scenarios ?

  32. Implement singleton mode in as many ways as possible

  33. The difference between an iterator and a generator

  34. multiple inheritance

Occupation development

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 .

There are a lot of big people 、 Rich information

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 .

All the materials shown in this article are free to share , Sweep down CSDN Official authentication wechat QR code is enough 【 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 :


Push inside the post 、 Exchange of learning

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 !


  1. 上一篇文章:
  2. 下一篇文章:
Copyright © 程式師世界 All Rights Reserved