PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/System Design/OpenAI

Design a distributed crossword fill solver

Last updated: Mar 29, 2026

Quick Overview

This question evaluates understanding of distributed systems, constraint-satisfaction modeling, scalable search and parallelization, along with fault tolerance and coordination for completing a combinatorial crossword fill over a large dictionary.

  • nan
  • OpenAI
  • System Design
  • Software Engineer

Design a distributed crossword fill solver

Company: OpenAI

Role: Software Engineer

Category: System Design

Difficulty: nan

Interview Round: Technical Screen

## Scenario You are building a service that fills a crossword-like grid with words. - The board size is not specified; assume a **medium** board around **50×50**. - There are about **100 word slots** (across + down) that must be filled. - You have a **dictionary of ~1,000,000 words**. - A word slot is a sequence of contiguous cells; slots intersect at shared cells. - Goal: **find any one valid complete filling** (not all solutions). ## Requirements 1. Return **one** complete assignment of words to all slots such that: - Each slot is filled by a dictionary word of matching length. - Intersections have the **same letter** from both words. - (Optional, clarify in interview) Whether a word can be reused in multiple slots. 2. Discuss why a single machine may be insufficient (time/memory) and design a **distributed** solution. 3. Explain how you would: - Represent the problem and constraints - Prune the search space - Parallelize the search across machines - Detect completion and handle failures

Quick Answer: This question evaluates understanding of distributed systems, constraint-satisfaction modeling, scalable search and parallelization, along with fault tolerance and coordination for completing a combinatorial crossword fill over a large dictionary.

Related Interview Questions

  • Design Video Generation Orchestration - OpenAI (medium)
  • Design CI/CD Build Caching - OpenAI
  • Design an Instagram-like Feed System - OpenAI (medium)
  • Design Online Chess Matchmaking - OpenAI (hard)
  • Design Android MVVM API Architecture - OpenAI (medium)
OpenAI logo
OpenAI
Jan 17, 2026, 12:00 AM
Software Engineer
Technical Screen
System Design
34
0
Loading...

Scenario

You are building a service that fills a crossword-like grid with words.

  • The board size is not specified; assume a medium board around 50×50 .
  • There are about 100 word slots (across + down) that must be filled.
  • You have a dictionary of ~1,000,000 words .
  • A word slot is a sequence of contiguous cells; slots intersect at shared cells.
  • Goal: find any one valid complete filling (not all solutions).

Requirements

  1. Return one complete assignment of words to all slots such that:
    • Each slot is filled by a dictionary word of matching length.
    • Intersections have the same letter from both words.
    • (Optional, clarify in interview) Whether a word can be reused in multiple slots.
  2. Discuss why a single machine may be insufficient (time/memory) and design a distributed solution.
  3. Explain how you would:
    • Represent the problem and constraints
    • Prune the search space
    • Parallelize the search across machines
    • Detect completion and handle failures

Solution

Show

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...

Browse More Questions

More System Design•More OpenAI•More Software Engineer•OpenAI Software Engineer•OpenAI System Design•Software Engineer System Design
PracHub

Master your tech interviews with 8,000+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.