NODA interview question

They asked questions about react state management