Cyera Interview Question

On the second interview they asked my to implment a nestet getObj function by string.