Box Coding Interview Questions
6 coding questions reported by candidates who interviewed at Box, out of 6 Box questions we track. They average 2.8/5 difficulty (medium). Most common topics: Concurrency, Simulation, Rate Limiter, Leaky Bucket.
Practice Box questions →Difficulty
- 2/5 — easy1
- 3/5 — medium5
Asked for SWE (6), Infra (3)
Reported Box coding questions
Implement a Leaky Bucket Rate Limiter (single-threaded, then thread-safe) with tests
3/5This Box interview question tests the ability to design and implement a classic traffic management algorithm from scratch, beginning with a straightforward single-threaded variant and advancing to a robust, thread-safe implementation. Engineers must carefully handle temporal logic, state depletion over elapsed time intervals, and concurrency synchronization to ensure accurate rate enforcement under heavy load. Comprehensive test suites, step-by-step implementation guidance, and the complete source code solution are available exclusively to subscribed users.
Rate LimiterLeaky BucketConcurrencyCounterfeit Currency
3/5This Box string-processing question tests careful rule-by-rule validation of fixed and variable-width fields in an identifier, followed by integer-safe percentage arithmetic. Edge cases around length, letter case, numeric ranges and rounding decide the result.
StringParsingValidationRetention Policy Collision
3/5Managing hierarchical data dependencies and overlapping constraints is a frequent challenge in enterprise software engineering interviews at Box. This problem explores how governance directives migrate across infinite tree structures and assesses your ability to detect rule conflicts. The exercise tests advanced tree traversal techniques, interval management, and spatial tracking algorithms. Unlock the complete problem statement and the professional reference solution with a paid subscription.
StackSimulationAsteroid CollisionBox Fro-yo (Flavor Changer)
2/5This Box coding question asks for the fewest single steps between two positions on a circular list of flavor names, where the walk may go in either direction and wrap around the ends. It tests modular index arithmetic, handling repeated names, and clean edge-case reasoning. The full statement and a reference solution are available to subscribers.
ArrayCircularSimulationDesign a Thread-Safe Leaky Bucket Rate Limiter
3/5This concurrency and system design challenge, reported from Box interviews, asks you to build a thread-safe rate limiter based on the leaky bucket algorithm to regulate throughput under heavy loads. You must correctly manage resource capacity, time-dependent token depletion, and concurrent access synchronization to handle request validation safely. Gaining access to the full problem specifications and the expert model solution requires a paid subscription.
Rate LimiterLeaky BucketConcurrencyCache Usage in Multithreading Environment
3/5Sourced from Box engineering interviews, this concurrency problem requires the implementation of a thread-safe caching mechanism with eviction policies. You must design a data structure that supports rapid retrieval and insertion while maintaining consistency across multiple concurrent threads and enforcing a maximum capacity limit. This task evaluates your knowledge of synchronization primitives, concurrency control, and eviction algorithms like least recently used. Access to the complete problem specification and robust model solution requires a subscription.
LRUCacheHashmap
Box coding interview FAQ
- What coding questions does Box ask?
- 6 reported coding questions, most often on Concurrency, Simulation, Rate Limiter, Leaky Bucket, Design.
- How hard is the Box coding interview?
- The reported coding questions average 2.8 out of 5: 1 at 2/5, 5 at 3/5.