Whenever you're ready, walk me through how you'd approach this.
Explain the difference between debouncing and throttling and provide a scenario where you would use each.