Domanda di colloquio di TikTok

Implement the debounce function (Common Frontend Interview Question)