Programming.com interview question

one related debounce in react