Thoughtworks Interview Question

1. what is debounce and throttle