Memoize Async (with in-flight deduplication)
Speechify interview questions · Medium · Coding round · 13 tests
Cache stampede protection. Caching the value is easy; deduplicating calls that are still in flight is the part people miss.
The full question, tests and reference solution are available with a plan that includes Speechify.
Run your code with Ctrl+Enter to see results.