Implement Squash Object — flatten a nested object into a single-level object with dot-separated keys.

reported at Oracle

say it first

Answer it out loud, in your own words. Then compare.

Interviewers listen for how you get there, not only where you land. The answer opens once you have tried.