XANT interview question

Scenarios