Lloyds Banking Group Interview Question

Nested Object and Array, Print values and keys(dot separated).