What is debouncing?

Updated May 17, 2026

Short answer

Debouncing limits function execution rate.

Deep explanation

It ensures a function runs only after a delay since last call.

Real-world example

Search bar API calls while typing.

Common mistakes

  • Using debounce when throttle is needed.

Follow-up questions

  • Difference between debounce and throttle?
  • Where is debounce used?

More Optimisation interview questions

View all →