Palo Alto Networks Interview Question

Difference between useMemo and useCallback