Pergunta de entrevista da empresa Meta

Explain difference between debouncing and throttling.