DXC Technology Interview Question

Implement the debounce function from scratch