Programming Screening

Answer each question independently. Difficulty varies, and you can complete the list over several sittings.

Python

Understand Python-specific semantics that produce common screening mistakes.

  1. Diagnose a mutable default argumentMedium · 8 min · 4 skills
  2. Reason about list-operation complexityMedium · 8 min · 4 skills

Control Flow

Trace and write string traversal, branching, and loops accurately.

  1. Trace a sentinel-based string scanEasy · 5 min · 3 skills
  2. Summarize consecutive character runsMedium · 10 min · 3 skills
  3. Split only at top-level commasHard · 14 min · 3 skills

Data Structures

Choose and operate Python's built-ins and basic algorithmic containers.

  1. Evaluate postfix arithmetic with a stackMedium · 12 min · 1 skills
  2. Compute unweighted distances with BFSMedium · 18 min · 4 skills
  3. Merge sorted lists with a heapHard · 18 min · 2 skills

Recursion

Identify base cases, trace calls, and implement recursive decompositions.

  1. Trace recursive calls and returnsEasy · 6 min · 2 skills
  2. Check a palindrome recursively by indicesMedium · 10 min · 2 skills
  3. Sum an arbitrarily nested integer listHard · 15 min · 2 skills