Python practice & interviews
Write code, diagnose failures and explain engineering decisions. Choose a topic or work through an interview collection.
11 matching interview tasks
- Remove duplicates while preserving ordersets · lists · hashingFoundationCode & tests
- Find two indices with a target sumhashing · arraysIntermediateCode & tests
- Consume an iterator in batchesgenerators · laziness · memoryIntermediateCode & tests
- Explain a queue that remembers previous callsfunctions · ownership · debuggingIntermediateDiscussion & rubric
- Audit a supposedly streaming pipelinegenerators · resource ownership · performanceAdvancedDiscussion & rubric
- Design cancellation and timeout handlingasyncio · reliability · testingAdvancedDiscussion & rubric
- Diagnose an import that works on one machinepackaging · debugging · CIIntermediateDiscussion & rubric
- Review a green test suitetesting · design · contractsAdvancedDiscussion & rubric
- Fix a database trust boundarydatabases · security · validationIntermediateDiscussion & rubric
- Choose an optimization using evidenceperformance · profiling · trade-offsAdvancedDiscussion & rubric
- Design a retry-safe ingestion boundarysystem design · storage · reliabilityAdvancedDiscussion & rubric
Practice inside the complete course
Every linked lesson retains its original exercises, investigations and project checks. Open a lesson to see its task format and prerequisites.