Lists
7 Topics
1
List Basics
Creating and using lists
Most commonly used data structure — essential for all Python interviews
2
List Methods
append, extend, insert, remove, pop, sort
Essential methods — tests understanding of in-place vs returning-new-list operations
3
List Slicing
Accessing sublists with slicing
Very common in interviews — tests understanding of slice semantics and assignment
4
List Comprehensions
Creating lists with comprehension syntax
Signature Pythonic pattern — interviewers expect fluency with comprehensions
5
Nested Lists
2D lists and matrices
Matrix/grid problems are among the most common interview questions
6
List Operations
Concatenation, repetition, membership
Tests understanding of Python operator semantics and lexicographic comparison
7
Copying Lists
Shallow vs deep copy
Common interview trap — tests understanding of Python object references and mutability