DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
Interview Prep Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
medium
Interview Prep
For a continuously-firing event source like scroll or mousemove where you want the handler to update continuously but at a bounded rate, which pattern is the better default?
A
Debounce, because it fires less often overall
B
Throttle, because debounce could indefinitely delay any response if activity never fully pauses
C
Neither pattern applies to scroll events
D
It doesn't matter, they behave identically for continuous events
Check Answer