Write a function to debounce an input function with immediate execution support.
HardProblem Statement
Write a function to debounce an input function with immediate execution support.
Sample Input
Debounced function called multiple times within 2000ms.
Sample Output
Executed at: <Timestamp>
Limits
Time: 2s · Memory: 256 MB