RetoolMediumCoding00:00

Welcome to your interview for the Software Engineer role at Retool.
The question is on your right: Deep Merge With Business Rules. Take a moment with it first.
Talk your thinking through with me if you like - when you're confident, submit your answer and I'll grade it like a real screen. You have three graded attempts to score 7/10 or better.
Write a function that deeply merges two complex configuration objects while handling arrays and null values according to custom business rules.