Home
Topics
Practice
Roadmap
DSA Tracker
Code Editor
Tech Blogs
More
Sign in
Get started
Loading question...
Feedback
Throttle Function
Medium
00:00
0 users online
Share
Description
Solution
Submissions
Discussion
Implement throttle for rate limiting.
Sample Input:
scrollHandler, 100
Sample Output:
throttled function
Hints
Hint 1
Track last execution time
Hint 2
Execute only if time limit passed
Hint 3
Use timestamp comparison
Code Editor
Reset
Run
Save
Loading...