MangoApps interview question

Write your own Debouncing function