Aventude Interview Question

Difference between useReducer and useState