Lucidya interview question

Difference between useState and useReducer