Tavant interview question

selenium, java, TestNG, logic check