InterviewDB
Experience
JSON Conversion: Convert Between JSON and a Custom Flat Key-Value Notation
phone
Interview Experience
Problem Implement bidirectional conversion between nested JSON and a flat dot-notation key-value format. Nested keys are joined with .; array indices use bracket notation. Example: Follow-ups How do you handle key collisions when a path could be both a leaf and a subtree? How do you distinguish between a string value "10" and an integer 10 in the flat format? How would you extend this to support mixed arrays (arrays containing both objects and primitives)? What is the maximum nesting depth your…
Full Details
🔒
Unlock all Nextdoor questions
Full insider details, leaked discussions, and candidate experiences.
Get full access — $100 a year, unlimited accessAbout This Question
This is a candidate experience report from a nextdoor interview during the phone round.
It covers the following topics: Strings, Phone, Recursion, Coding, Arrays .
More Nextdoor Interview Questions
1p3a
nextdoor software engineer tech phone screen interview overview
LeetCode
#56 Merge Intervals
InterviewDB
Comment Tree: Build and Traverse a Nested Comment Thread Like Reddit's
InterviewDB
Nextdoor SWE Onsite - Letter Combinations
1p3a
Nextdoor Full-Time SDE Tech Phone Screen Interview Questions