cswork / libraryOpen practice workspace

READ. UNDERSTAND. PRACTICE.

Articles

Explore algorithm tutorials, coding and system design questions, interview experiences, and computer science study guides.

2,099 resources · Page 63 of 88

  1. Articles

    Python asyncio Interview Questions: Cancellation, TaskGroup, and Timeouts

    Prepare for Python asyncio interviews with cancellation propagation, TaskGroup failure semantics, timeout boundaries, cleanup, shielding, and runnable traces.

  2. Articles

    Python Context Manager Interview Questions: Cleanup, Exceptions, and ExitStack

    Practice Python context manager interviews with exception traces, partial acquisition, ExitStack cleanup, ownership transfer, and async resource scenarios.

  3. Articles

    Python contextvars Interview Questions: Async Tasks, Threads, and Request State

    Practice Python contextvars interview questions with task-capture traces, mutable-value leaks, token cleanup, and explicit thread boundaries for request state.

  4. Articles

    Python Dataclass Interview Questions: Mutable Defaults, Equality, and Frozen Objects

    Prepare for Python dataclass interviews with mutable defaults, equality, frozen objects, hash stability, and a tested cache-key design with clear trade-offs.

  5. Articles

    Python Decimal Interview Questions: Rounding, Context, and Financial Calculations

    Prepare for Python Decimal interview questions with tested rounding cases, local contexts, exact cent validation, and financial calculation boundary checks.

  6. Articles

    Python Decorator Interview Questions: Closures, Metadata, and Async Wrappers

    Answer Python decorator interview questions about closures, metadata preservation, arguments, methods, async wrappers, and cleanup.

  7. Articles

    Python Descriptor Interview Questions: Attribute Lookup, Properties, and Precedence

    Prepare for Python descriptor interview questions with lookup traces, property precedence, per-instance storage, and tested attribute-collision examples.

  8. Articles

    Python Generator Interview Questions: Laziness, Cleanup, and One-Shot Iteration

    Learn Python generator interview questions about laziness, StopIteration, one-shot iteration, close, GeneratorExit, yield from, and cleanup.

  9. Articles

    Python GIL and Free-Threading Interview Questions: Concurrency, Safety, and Measurement

    Prepare for Python GIL and free-threading interviews: separate parallelism from safety, inspect build state, audit extensions, and benchmark workloads.

  10. Articles

    Python heapq for Coding Interviews: Idioms, Traps, and Real Questions

    Python heapq in interviews: O(n) heapify, the size-k top-k pattern, max-heap negation, tuple keys, and lazy deletion, tied to real company questions.

  11. Articles

    Python Hypothesis Interview Questions: Strategies, Shrinking, and Stateful Tests

    Prepare for Python Hypothesis interview questions with strategy design, shrinking, stateful model tests, and an interview-ready debugging workflow.

  12. Articles

    Python Interview Questions for Software Engineers: Data Model, Iterators, Asyncio, and Performance

    Prepare for Python interviews with practical questions on the data model, iterators, generators, asyncio, the GIL, profiling, and performance trade-offs.

  13. Articles

    Python itertools Interview Questions: Lazy Iteration, groupby, and Shared Iterators

    Practice Python itertools interview questions with lazy pipelines, groupby consumption, shared iterators, tee buffering, and explicit memory boundaries.

  14. Articles

    Python Logging Interview Questions: Duplicate Records, Handlers, and Request IDs

    Practice Python logging interview questions with duplicate-handler traces, propagation rules, safe request IDs, queue boundaries, and configuration checks.

  15. Articles

    Python Metaclass Interview Questions: Class Creation and __init_subclass__

    Trace Python class creation, choose __init_subclass__ or a metaclass, and test cooperative keywords, metaclass conflicts, and __classcell__ failures.

  16. Articles

    Python Mocking Interview Questions: Patch Targets, Autospec, and AsyncMock

    Learn where to patch Python dependencies, when autospec catches interface drift, and how AsyncMock proves a coroutine was awaited. with focused tests.

  17. Articles

    Python MRO Interview Questions: super(), Mixins, and Cooperative Initialization

    Practice Python MRO interview questions with diamond traces, cooperative super(), mixin ordering, keyword ownership, and executable initialization tests.

  18. Articles

    Python Multiprocessing Interview Questions: Start Methods, Pickling, and Worker Failures

    Answer Python multiprocessing interview questions about spawn, forkserver, fork, pickling, pool exceptions, process exits, and cleanup.

  19. Articles

    Python Object Lifetime Interview Questions: Reference Cycles, weakref, and Finalizers

    Practice Python object lifetime interview questions with reference cycles, weak callbacks, finalizer retention traps, and explicit resource cleanup scopes.

  20. Articles

    Python Packaging Interview Questions: pyproject.toml, Build Isolation, and Imports

    Prepare for Python packaging interviews with pyproject.toml, build isolation, wheel inspection, editable-install traps, and clean-environment import checks.

  21. Articles

    Python Projects for a Data Scientist Resume: Evidence-First Examples

    Build Python resume projects that prove Data Scientist skills through clear data contracts, reproducible pipelines, tests, baselines, and honest claims.

  22. Articles

    Python singledispatch Interview Questions: Dispatch Types and Registration

    Practice Python singledispatch with first-argument traces, bool inheritance, registration changes, virtual ABC ambiguity, and handler-contract tests.

  23. Articles

    Python Structural Pattern Matching Interview Questions: Captures, Guards, and Classes

    Practice Python match captures, guards, mappings, sequences, and class patterns with executable examples and a concrete message-acceptance matrix.

  24. Articles

    Python Type Hint Interview Questions: Protocols, Generics, and Runtime Validation

    Understand Python type hint interview questions through Protocols, generics, variance, Any, and the boundary between static checks and runtime validation.