Skip to content

Conversation

@Vedavyasa21
Copy link
Contributor

Added a new coding exercise: Deep-Merge Two Nested Objects With Circular References.

  • Handles circular references safely
  • Ensures immutability
  • Merges nested objects and arrays correctly
  • Suitable for advanced JavaScript interview preparation

@Vedavyasa21
Copy link
Contributor Author

Hey! @sudheerj can you check the PR i have made

@sudheerj
Copy link
Owner

@Vedavyasa21 Thanks for PR. This question is quite interesting. Please make the variable names bit descriptive. Can you provide the answer as well?

@Vedavyasa21
Copy link
Contributor Author

@sudheerj Yeah I have changed the variable names
Should I add the solution below the code or in the discription ?

@sudheerj
Copy link
Owner

@Vedavyasa21
Copy link
Contributor Author

Hi @sudheerj,
I have restructured the exercise into the required folder format and added README, question, and solution as requested. Please check now.

@Vedavyasa21
Copy link
Contributor Author

Hey! @sudheerj, can you merge it by today?

@sudheerj
Copy link
Owner

@Vedavyasa21 Thanks for the changes. I will merge the PR. Can you please avoid character variable naming such as a, b etc. You can name them like firstObj, secondObj..

@sudheerj sudheerj merged commit dee3d12 into sudheerj:master Nov 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants