1. What is useCallback()? Explain in depth.
2. What is the difference between useState() and useRef()?
3. Explain the DOM and Virtual DOM. What are the differences between them?
4. Write a program to print the Kaprekar number series for a given input.