MongoDB Software Engineer Interview Experience — JSON Traversal and Handwritten Tests

MongoDB·Software Engineer·Oct 2026
OnsiteTechnical Screenmedium

Two interviewers led my coding round on retrieving values from a parsed JSON tree. Paths were supplied as strings, and an array without an explicit index meant returning matches across its elements. I used a tagged structure and discussed unions and virtual classes as alternatives.

I finished the traversal in about twenty minutes, then corrected boundary issues found in a dry run. The interviewers asked for tests and said I could construct values directly without a parser. I had not written tests by hand recently and found that part awkward. I questioned whether equality comparisons would be generated automatically; eventually, they asked for a simple string-result comparison, which I wrote.

More than ten minutes remained for conversation. From this interview and the earlier phone round, I had a positive impression of the company atmosphere and the responsibility given to younger engineers.

Published

Curated and edited by PracHub

Practice the questions from this interview

Discussion

Sign in to join the discussion. The author is notified of every comment.

Loading comments…

Interview at a glance

Company
MongoDB
Role
Software Engineer
Rounds
Technical Screen → Onsite
Difficulty
medium
Interview date
Oct 2026
Questions from this interview
1 question

Real MongoDB interview experiences

First-hand reports from MongoDB candidates — the rounds, the questions they were asked, and how it went.

All 10 MongoDB interview experiences