OpenTable interview question

past experience, state management, explain a solution