TP interview question

Validations, state management, basic oops concepts