PHASE 05
๐ฆ Collections
Pythonโs built-in collections are its superpower โ and they are exactly what coding interviews use. Learn when to use each one and how to transform data in one elegant line.
โฑ๏ธ ~3.5 hours of lessons
๐ 6 lessons
โ๏ธ 12 exercises Easy
โถ Start this phase
๐ฏ In this phase you willโฆ
- Create, change and slice lists
- Use tuples, dictionaries and sets
- Write list and dict comprehensions
- Process text with string methods
๐บ Lessons in this playlist
๐ Phase test
Concept questions, pseudocode writing, tracing and debugging โ check youโre ready for the next phase.
๐ก Concept check
You need to check thousands of times whether a username is already taken. Which structure is fastest?
๐ฎ What will this display?
What does this print?
1nums = [5, 3, 8]2print(sorted(nums)[::-1][0])