Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 2637. Promise Time Limit
Return a time-limited wrapper for an async function that invokes fn with given arguments and resolves with its result if it completes within t milliseconds, or rejects with "Time Limit Exceeded" if the timeout elapses (typically solved by racing fn's promise against a timeout while preserving fn's resolve/reject behavior).
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.