Ace Python Interviews by Reuven M. Lerner

Ace Python Interviews

Prepare for your next Python job interview with 50 questions, answered in six hours of live-coding screencasts. The course is 100% free of charge!

What's included?

Video Icon 52 videos File Icon 1 file

Contents

Introduction
00 Introduction
2 mins
jupyter-notebooks.zip
68.1 KB
Section 1: Beginner-level questions
01 Mutable vs immutable
8 mins
02 Highest square
7 mins
03 *args and **kwargs
7 mins
04 Lists vs. tuples
7 mins
05 PEP 8
8 mins
06 Local vs. global variables
5 mins
07 Modules
6 mins
08 Lists vs. arrays
5 mins
09 What is __init__?
6 mins
10 .py vs .pyc files
11 mins
11 Different types of quotes
6 mins
12 Docstrings
6 mins
13 Swapping variables
5 mins
14 break vs. continue
6 mins
15 What is PyPI?
6 mins
16 What are Python's basic data structures, and how are they used?
7 mins
17 How do you iterate over a dict?
5 mins
18 Counting vowels in a file
9 mins
19 Adding to a dict
6 mins
20 UnboundLocalError
5 mins
Section 2: Intermediate-level questions
21 read_n
8 mins
22 Fibonacci
8 mins
23 What is self?
7 mins
24 Sorting with lambda
6 mins
25 Defaults
6 mins
26 Static and class methods
7 mins
27 Listing module functions
10 mins
28 Memory management in Python
9 mins
29 The "else" clause for loops
8 mins
30 Context managers
14 mins
31 Call by reference or call by value?
8 mins
32 What is a closure?
13 mins
33 What is the iterator protocol?
12 mins
34 What is __name__?
8 mins
35 str vs. bytes
8 mins
36 Operator overloading
11 mins
37 Whitespace separated numbers
6 mins
38 Checking for palindromes
7 mins
Section 3: Advanced questions
39 Mean square error
8 mins
40 Type annotations
6 mins
41 Recursive directory listing
9 mins
42 String-only arguments
10 mins
43 Class attributes
9 mins
44 What is the GIL?
10 mins
45 Apply a function to a directory
5 mins
46 is vs ==
5 mins
47 mychain
6 mins
48 myrange
7 mins
49 full_name property
7 mins
50 Speed descriptor
12 mins
Section 4: Conclusion
Conclusion
2 mins

FAQs

Who is this course aimed at?

Anyone planning to interview for a job involving Python coding. I obviously cannot predict which questions you will be asked, but it's more than likely that you'll be asked some questions similar to these — so you can think of them as practice questions, to prepare you for the interview.

What level are the questions?

I've tried to divide the questions into beginner, intermediate, and advanced level topics. I obviously couldn't cover everything, and I tried to stay close to core language features (rather than delve into Web development, devops, or data science), so your specific professional needs might not come up.

What version of Python do you use?

3.7. But everything I do should work in both 3.6 and 3.8.

For how long will this course be free?

Forever.  I don't intend to charge for this course.

Do you offer any discounts for this course?

Um, it's free. Tell ya what, I'll take 10% off of the price, just because I like you.

For how long can I access the course?

For as long as you want. No limit.