Accenture interview question

test case for table