Nagarro Interview Question

how to traverse table in selenium