Pure Storage logo

Pure Storage Interview Question Bank

Pure Storage (now also hiring under the Everpure name) reuses a small, well-known set of coding questions, so loops are decided by depth rather than novelty: interviewers press hard on concurrency, lock discipline and read/write optimization. Experienced loops close with a hiring-manager conversation and an architect-led design round built around real storage problems.

Coding problems
16
Before you start
Showing 31 of 31
Coding
MediumFree preview

Event Fire / Callback Registration (Trigger System)

Implement an event that callers register callbacks on: callbacks registered before fire() are queued and run when the event fires; callbacks registered after it has fired run immediately. Then make it thread-safe. The follow-ups (register racing with fire, never invoking callbacks under the lock, where the fired flag is set relative to the critical section) decide the outcome, and the expected final version varies by interviewer.

SWE
concurrency
threading
race-condition
queue
+1
5 related discussions