44Build a circuit breaker: closed/open/half-open with a failure window, cooldown, and a single half-open probe▼hardAnthropicOpenAIStripe1 replies◆ premiumThe retry loop's grown-up sibling. Retries protect one call; a breaker protects the whole dependency from a retry storm. The grade is in the half-open state, where letting through one probe instead of all of them is the difference between recovery and re-killing the server.Open full answer →
92From a stream of badge scans, find the employees whose movements are impossible.▼mediumNewPalantirScale2 replies◆ premiumA stateful pass over sorted events, which most candidates get working in ten minutes. The reason it is asked is the next ten: in this domain a false positive is a person accused of something.Open full answer →