BNP Paribas Interview Question

Finding xpaths for a given element in real time