Document Store with Boolean Predicate Query
Asked at Snowflake · Coding Questions · Difficulty: Medium · Last asked Apr 20, 2026
Build a small in-memory document store. Each document is a filename with a list of words. The store answers boolean queries such as "does this file contain `a` and `b`, or `c`?" for one file, and "which files match this query?" across the whole store.
Loading the problem…
More Snowflake interview questions
- Design a Distributed Job Scheduler with Cron, Pause, Resume
- Design an ACL Authorization Service
- Design an S3-Style Blob Store with Deduplication
- SQL: Project Duration & Budget per Employee
- Cross-Platform Client Logging Library
- Design a Quota System