A JSON viewer sends the whole document to the backend on every save, which is slow for big documents. Given the old and new document, produce just the changes — first for a flat map of strings, then for nested JSON.
A JSON viewer sends the whole document to the backend on every save, which is slow for big documents. Given the old and new document, produce just the changes — first for a flat map of strings, then for nested JSON.
Unlock the full question and reference solution
One-time unlock. Yours forever.
Or get a for every question, unlimited code runs and AI mock interviews.
Opens with the full question.