Top 100 Python Interview Questions and Answers
Prepare with 100 Python interview questions and detailed answers covering core language behavior, internals, async, typing, testing, and examples.
Detailed answers from RecallDeck’s curated 1,750+ card catalog—organized into focused question sets, practical study plans, and honest tool comparisons.
Start here
Broad enough to orient a study plan, detailed enough to expose what you cannot yet explain.
Prepare with 100 Python interview questions and detailed answers covering core language behavior, internals, async, typing, testing, and examples.
Prepare with 100 Go interview questions and detailed answers on slices, interfaces, concurrency, runtime, testing, distributed systems, and reliability.
Follow a practical 30-day software engineering interview plan for coding, system design, fundamentals, behavioral stories, and mocks.
Compare the best coding interview prep tools for algorithms, concepts, mock interviews, system design, and durable recall.
Question sets hide the explanation until you choose to open it, so reading becomes retrieval practice.
Detailed examples, edge cases, trade-offs, and failure modes give follow-up questions somewhere to go.
Focused clusters keep JavaScript, SQL, system design, ML, QA, mobile, and career topics easy to find.
Browse the library
Search by technology, interview round, or the specific idea you need to explain.
173 articles · Showing 24 of 173
Understand why a Go error can hold a nil pointer and still compare unequal to nil. Run the example, inspect the dynamic type, and fix the return path.
Trace JavaScript tasks, microtasks, promises, and await with runnable interview exercises, exact output, and a queue-by-queue explanation.
See why Python reuses a default list across calls. Fix it with None, preserve caller-owned lists, and use dataclass default_factory correctly.
Debug missing rows after a SQL LEFT JOIN. Compare WHERE and ON filters, count zero matches correctly, and find missing records with NOT EXISTS.
Meet the ArtCraft team rebuilding Adobe-style apps with AI and Rust. Explore the code, clean-room method, screenshots, licenses and the limits of early alpha.
Design API idempotency with a booking example: operation identity, payload checks, concurrent claims, transaction boundaries, and provider contracts.
Choose cursor or offset pagination, build a timestamp-and-id cursor, and understand ties, changing data, token validation, and snapshot limits.
Debug Docker Compose connections with service DNS, container ports and PostgreSQL health checks. Separate startup readiness from reconnecting after a failure.
Compare Git merge and rebase in a disposable repository. See which commits change, handle conflicts, recover with reflog and understand shared-history limits.
Troubleshoot Kubernetes CrashLoopBackOff with previous container logs, termination reasons and events. Work through a slow-start probe failure and verify recovery.
Diagnose flaky Playwright tests with a runnable fixture, a waiting decision table, retrying assertions and a focused trace-review exercise.
Read PostgreSQL plans with a reproducible query: estimates, actual rows, buffers, composite indexes, and a checklist for testing improvements.
Compare TaskGroup and gather with a deterministic Python experiment: sibling cancellation, exception groups, partial results and cleanup ownership.
Build a Redis cache-aside miss path with TTLs, fill coalescing and bounded fallback. Understand lock ownership, stale refill races and consistency tradeoffs.
Compare satisfies, type annotations and assertions with a checked route map, compiler-error examples, const assertions and runtime validation of unknown input.
Learn how AI agents differ from fixed workflows, follow a support-agent example, and design tool permissions, stopping rules, and useful evaluations.
Compare RAG and fine-tuning through a support-assistant example. Diagnose knowledge, retrieval, and behavior failures before choosing an architecture.
Debug React useEffect loops with working examples: remove derived state, fix unstable dependencies, separate event handlers, and guard asynchronous responses.
Practice SQL window functions on eight orders: deterministic rankings, running totals, LAG and moving averages, with PostgreSQL queries and expected answers.
Understand Model Context Protocol through an order-support example: hosts, servers, tools, API integration, permissions and a practical testing checklist.
A practical guide to Impeccable, Emil Kowalski’s UI skills, Motion Design, UI/UX Pro Max and Vercel’s guidelines, with example requests and a reusable polish prompt.
A source-checked analysis of Google AI interview claims on Reddit: what is verified, what remains uncertain, and how to prepare beyond algorithm drills.
Eight engineering blogs that reveal how real teams design APIs, scale infrastructure, review code, recover from failure, and make production trade-offs.
Follow a practical 30-day software engineering interview plan for coding, system design, fundamentals, behavioral stories, and mocks.
The library stays inside RecallDeck’s interview-preparation expertise. Topic priority combines recurring interview intent, depth in the curated deck, active job-role coverage, and current ecosystem signals—not an invented claim of exact keyword volume.
Editorial guardrail: the pages are designed to leave a candidate with a usable answer or practice step. We do not publish empty location variants, synonym pages, or automatically paraphrased copies.