Design a JSON Merge API with Pluggable Behaviors
Company: Tesla
Role: Software Engineer
Category: Software Engineering Fundamentals
Difficulty: easy
Interview Round: Technical Screen
Overview: Design a non-mutating JSON merge API with selectable overwrite or append behavior for arrays. Define recursive object handling and exact semantics for missing keys, nulls, type mismatches, ordering, duplicates, and future pluggable policies.