Box Software Engineer Interview Questions
Practice the exact questions companies are asking right now.
Solve classic troubleshooting & algorithm tasks
Question System failure troubleshooting: You can only SSH into the machine and the log file is huge. How would you locate the problem quickly? Flip a ...
Design streaming window average processor
Question Design an event processor for an infinite out-of-order event stream (id, timestamp, payload, checksum). Validate checksum, discard events arr...
Identify and fix deadlock in locked code
Multithreaded Deadlock: Diagnose and Fix Context You have concurrent code that acquires multiple locks and occasionally deadlocks. The underlying issu...
Implement a leaky-bucket rate limiter
Implement a Leaky-Bucket Rate Limiter with Tests and Distributed Design Context and Assumptions - Implement in a general-purpose language; the referen...
Explain and diagram your past system architecture
System Design Walkthrough: Architecture You Have Built/Owned Provide a whiteboard-style walkthrough of a production system you have personally built o...
Diagnose failures via SSH and large logs
Troubleshooting Large Logs Over SSH and Designing Centralized Logging Context You are on-call for a production service that is failing. You have SSH a...
Compute Top-K word frequencies under a path
Given a filesystem path that may contain nested subdirectories and files, compute the top K most frequent words across all files. Describe an in-memor...
Flip a specific bit in an integer
Given a non-negative integer num and a zero-based bit position p, return the integer resulting from flipping only the bit at position p (i.e., 0 becom...
Design out-of-order windowed stream processor
Design an event processor for an unbounded stream where each event has id, timestamp, payload string, and checksum. Events may arrive out of timestamp...