Lloyds Banking Group interview question

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