Capgemini interview question

Difference between useCallback and useMemo