44 questions · from 2 interviews

Capgemini interview questions

Every question candidates reported from their Capgemini interviews, most frequently asked first. Each links to the write-up it came from, so you can see the round and how it went.

Capgemini coding and DSA questions

  1. 01

    Contains Duplicate

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

    From Capgemini Interview Rounds

  2. 02

    Longest Substring Without Repeating Characters

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

    From Capgemini Interview Rounds

  3. 03

    Merge Two Sorted Arrays

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

    From Capgemini Interview Rounds

  4. 04

    Product of Array Except Self

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

    From Capgemini Interview Rounds

  5. 05

    Detect Cycle in a Linked List

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

    From Capgemini Interview Rounds

  6. 06

    Search in Rotated Sorted Array

    Search a target value in a rotated sorted array.

    From Capgemini Interview Rounds

  7. 07

    Top K Frequent Elements

    Find the k most frequent elements in an integer array.

    From Capgemini Interview Rounds

  8. 08

    Merge Intervals

    Given a collection of intervals, merge all overlapping intervals.

    From Capgemini Interview Rounds

  9. 09

    Find Missing Numbers in Array

    Given an array of numbers, identify and return all missing numbers within a specified range or sequence.

    Easy · From Capgemini Interview Experience - 2025 Batch (Superset Drive)

  10. 10

    String Reversal

    Write a program or function to reverse a given string.

    Easy · From Capgemini Interview Experience - 2025 Batch (Superset Drive)

  11. 11

    String Pattern Matching

    Implement a function to determine if a smaller string (pattern) exists within a larger string.

    Easy · From Capgemini Interview Experience - 2025 Batch (Superset Drive)

  12. 12

    Fibonacci Number

    Calculate the Nth Fibonacci number or generate a Fibonacci sequence up to a certain point.

    Easy · From Capgemini Interview Experience - 2025 Batch (Superset Drive)

  13. 13

    Prime Number Check

    Write a function to check if a given number is prime, or to generate prime numbers within a range.

    Easy · From Capgemini Interview Experience - 2025 Batch (Superset Drive)

  14. 14

    Check for Palindrome

    Determine if a given string or number reads the same forwards and backwards.

    Easy · From Capgemini Interview Experience - 2025 Batch (Superset Drive)

  15. 15

    Swap Two Numbers

    Implement a method to swap the values of two variables, possibly without using a temporary third variable.

    Easy · From Capgemini Interview Experience - 2025 Batch (Superset Drive)

Capgemini system design questions

  1. 01

    Design a MERN application - Food Delivery

    Design a MERN application for a food delivery use case.

    From Capgemini Interview Rounds

  2. 02

    Design a MERN application - Learning Management System

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

    From Capgemini Interview Rounds

  3. 03

    Design a MERN application - Job Portal

    Design a MERN application for a job portal use case.

    From Capgemini Interview Rounds

  4. 04

    Node.js CPU usage investigation

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

    From Capgemini Interview Rounds

  5. 05

    API duplicate records debugging

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

    From Capgemini Interview Rounds

  6. 06

    MongoDB memory usage investigation

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

    From Capgemini Interview Rounds

  7. 07

    React excessive API calls optimization

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

    From Capgemini Interview Rounds

Capgemini other questions

  1. 01

    Explain hoisting in JavaScript with let, const and var

    Explain hoisting in JavaScript with let, const and var.

    From Capgemini Interview Rounds

  2. 02

    Difference between shallow copy and deep copy

    What is the difference between shallow copy and deep copy?

    From Capgemini Interview Rounds

  3. 03

    Event bubbling and event capturing

    Explain event bubbling and event capturing.

    From Capgemini Interview Rounds

  4. 04

    Higher-order functions in JavaScript

    What are higher-order functions in JavaScript?

    From Capgemini Interview Rounds

  5. 05

    Promise.all vs Promise.allSettled vs Promise.race

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

    From Capgemini Interview Rounds

  6. 06

    React reconciliation

    How does React reconciliation work?

    From Capgemini Interview Rounds

  7. 07

    React.memo, useMemo and useCallback

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

    From Capgemini Interview Rounds

  8. 08

    Prop drilling avoidance

    What is prop drilling and how can you avoid it?

    From Capgemini Interview Rounds

  9. 09

    React Context API

    How does React Context API work?

    From Capgemini Interview Rounds

  10. 10

    Improving performance of large React apps

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

    From Capgemini Interview Rounds

  11. 11

    Node.js suitability for I/O-heavy applications

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

    From Capgemini Interview Rounds

  12. 12

    process.nextTick vs setImmediate

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

    From Capgemini Interview Rounds

  13. 13

    Node.js concurrent request handling

    How does Node.js handle concurrent requests?

    From Capgemini Interview Rounds

  14. 14

    Node.js streams usage

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

    From Capgemini Interview Rounds

  15. 15

    Scalable Express.js architecture

    How do you structure a scalable Express.js application?

    From Capgemini Interview Rounds

  16. 16

    Express.js error-handling middleware

    Explain Express.js error-handling middleware.

    From Capgemini Interview Rounds

  17. 17

    Securing a REST API

    How would you secure a REST API?

    From Capgemini Interview Rounds

  18. 18

    Access token vs refresh token

    Access token vs refresh token - what is the difference?

    From Capgemini Interview Rounds

  19. 19

    MongoDB compound indexes

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

    From Capgemini Interview Rounds

  20. 20

    MongoDB transactions

    Explain MongoDB transactions and when they are required.

    From Capgemini Interview Rounds

  21. 21

    MongoDB find vs findOne vs aggregate

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

    From Capgemini Interview Rounds

  22. 22

    Design efficient search API

    How would you design an efficient search API?

    From Capgemini Interview Rounds

Capgemini interview questions FAQ

What questions are asked in Capgemini interviews?

Candidates reported 44 distinct questions across 2 Capgemini interviews. 15 coding and DSA questions, 7 system design questions, 22 other questions.

How difficult are Capgemini interview questions?

Of the questions candidates rated, 100% were easy, 0% medium and 0% hard.