Pregunta de entrevista de Praeclarum Tech

What is useMemo and useCallback, what is difference between both?