capgemini logo
Capgemini· MERN Stack Developer

Capgemini Interview Rounds

Posted
25 Sept 2026
88 reads

Summary

I interviewed for a MERN Stack Developer position at Capgemini, completing three rounds that covered JavaScript/React, Node.js/Express/MongoDB, and system design.

How it went

Company: Capgemini
Role: MERN Stack Developer
Experience: 2-4 Years
Stack: React.js + Node.js + Express.js + MongoDB
Hiring: LinkedIn Job Posting

Round 1 - JavaScript & React.js

  • Explain hoisting in JavaScript with let, const and var
  • What is the difference between shallow copy and deep copy?
  • Explain event bubbling and event capturing
  • What are higher-order functions in JavaScript?
  • What is the difference between Promise.all(), Promise.allSettled() and Promise.race()?
  • How does React reconciliation work?
  • Explain React.memo(), useMemo() and useCallback()
  • What is prop drilling and how can you avoid it?
  • How does React Context API work?
  • How would you improve the performance of a large React application?

DSA:

  • Contains Duplicate
  • Longest Substring Without Repeating Characters
  • Merge Two Sorted Arrays
  • Product of Array Except Self

Round 2 - Node.js | Express | MongoDB

  • Why is Node.js suitable for I/O-heavy applications?
  • Explain the difference between process.nextTick() and setImmediate()
  • How does Node.js handle concurrent requests?
  • What are streams in Node.js and where would you use them?
  • How do you structure a scalable Express.js application?
  • Explain Express.js error-handling middleware
  • How would you secure a REST API?
  • Access token vs refresh token - what is the difference?
  • What are MongoDB compound indexes and when should you use them?
  • Explain MongoDB transactions and when they are required
  • What is the difference between find(), findOne() and aggregate()?
  • How would you design an efficient search API?

DSA:

  • Detect Cycle in a Linked List
  • Search in Rotated Sorted Array
  • Top K Frequent Elements
  • Merge Intervals

Round 3 - System Design & Project Discussion

Design a MERN application for a real-world use case.

  • Food Delivery Application
  • Learning Management System
  • Job Portal Application

Production Scenarios

  • Your Node.js server's CPU usage suddenly reaches 90%. How would you investigate?
  • An API starts returning duplicate records. How would you identify and fix the issue?
  • MongoDB memory usage keeps increasing in production. What would you investigate?
  • A React application makes too many API calls. How would you debug and optimize it?

Questions asked (37)

  1. 01

    Explain hoisting in JavaScript with let, const and var

    Other

    Explain hoisting in JavaScript with let, const and var.

  2. 02

    Difference between shallow copy and deep copy

    Other

    What is the difference between shallow copy and deep copy?

  3. 03

    Event bubbling and event capturing

    Other

    Explain event bubbling and event capturing.

  4. 04

    Higher-order functions in JavaScript

    Other

    What are higher-order functions in JavaScript?

  5. 05

    Promise.all vs Promise.allSettled vs Promise.race

    Other

    What is the difference between Promise.all(), Promise.allSettled() and Promise.race()?

  6. 06

    React reconciliation

    Other

    How does React reconciliation work?

  7. 07

    React.memo, useMemo and useCallback

    Other

    Explain React.memo(), useMemo() and useCallback().

  8. 08

    Prop drilling avoidance

    Other

    What is prop drilling and how can you avoid it?

  9. 09

    React Context API

    Other

    How does React Context API work?

  10. 10

    Improving performance of large React apps

    Other

    How would you improve the performance of a large React application?

  11. 11

    Contains Duplicate

    Data Structures & Algorithms

    Given an array of integers, find if any value appears at least twice.

  12. 12

    Longest Substring Without Repeating Characters

    Data Structures & Algorithms

    Given a string, find the length of the longest substring without repeating characters.

  13. 13

    Merge Two Sorted Arrays

    Data Structures & Algorithms

    Given two sorted integer arrays, merge them into a single sorted array.

  14. 14

    Product of Array Except Self

    Data Structures & Algorithms

    Given an array nums, return an array answer such that answer[i] is the product of all the elements of nums except nums[i].

  15. 15

    Node.js suitability for I/O-heavy applications

    Other

    Why is Node.js suitable for I/O-heavy applications?

  16. 16

    process.nextTick vs setImmediate

    Other

    Explain the difference between process.nextTick() and setImmediate().

  17. 17

    Node.js concurrent request handling

    Other

    How does Node.js handle concurrent requests?

  18. 18

    Node.js streams usage

    Other

    What are streams in Node.js and where would you use them?

  19. 19

    Scalable Express.js architecture

    Other

    How do you structure a scalable Express.js application?

  20. 20

    Express.js error-handling middleware

    Other

    Explain Express.js error-handling middleware.

  21. 21

    Securing a REST API

    Other

    How would you secure a REST API?

  22. 22

    Access token vs refresh token

    Other

    Access token vs refresh token - what is the difference?

  23. 23

    MongoDB compound indexes

    Other

    What are MongoDB compound indexes and when should you use them?

  24. 24

    MongoDB transactions

    Other

    Explain MongoDB transactions and when they are required.

  25. 25

    MongoDB find vs findOne vs aggregate

    Other

    What is the difference between find(), findOne() and aggregate()?

  26. 26

    Design efficient search API

    Other

    How would you design an efficient search API?

  27. 27

    Detect Cycle in a Linked List

    Data Structures & Algorithms

    Given a singly linked list, determine if it contains a cycle.

  28. 28

    Search in Rotated Sorted Array

    Data Structures & Algorithms

    Search a target value in a rotated sorted array.

  29. 29

    Top K Frequent Elements

    Data Structures & Algorithms

    Find the k most frequent elements in an integer array.

  30. 30

    Merge Intervals

    Data Structures & Algorithms

    Given a collection of intervals, merge all overlapping intervals.

  31. 31

    Design a MERN application - Food Delivery

    System Design

    Design a MERN application for a food delivery use case.

  32. 32

    Design a MERN application - Learning Management System

    System Design

    Design a MERN application for a learning management system use case.

  33. 33

    Design a MERN application - Job Portal

    System Design

    Design a MERN application for a job portal use case.

  34. 34

    Node.js CPU usage investigation

    System Design

    Your Node.js server's CPU usage suddenly reaches 90%. How would you investigate?

  35. 35

    API duplicate records debugging

    System Design

    An API starts returning duplicate records. How would you identify and fix the issue?

  36. 36

    MongoDB memory usage investigation

    System Design

    MongoDB memory usage keeps increasing in production. What would you investigate?

  37. 37

    React excessive API calls optimization

    System Design

    A React application makes too many API calls. How would you debug and optimize it?

Know someone preparing? Send it to them:WhatsAppLinkedInX

Interviewed at Capgemini recently?

Write up your rounds while you still remember the questions. It helps the next person more than you would think.

Share your experience
Discussion 0

Questions for the author, or how your own interview compared.

Join the discussion

Sign in with Google to comment or ask the author a question.

No comments yet

Be the first to share your thoughts and start the discussion!