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
- 01
Contains Duplicate
Given an array of integers, find if any value appears at least twice.
- 02
Longest Substring Without Repeating Characters
Given a string, find the length of the longest substring without repeating characters.
- 03
Merge Two Sorted Arrays
Given two sorted integer arrays, merge them into a single sorted array.
- 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].
- 05
Detect Cycle in a Linked List
Given a singly linked list, determine if it contains a cycle.
- 06
Search in Rotated Sorted Array
Search a target value in a rotated sorted array.
- 07
Top K Frequent Elements
Find the k most frequent elements in an integer array.
- 08
Merge Intervals
Given a collection of intervals, merge all overlapping intervals.
- 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
String Reversal
Write a program or function to reverse a given string.
Easy · From Capgemini Interview Experience - 2025 Batch (Superset Drive)
- 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
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
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
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
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
- 01
Design a MERN application - Food Delivery
Design a MERN application for a food delivery use case.
- 02
Design a MERN application - Learning Management System
Design a MERN application for a learning management system use case.
- 03
Design a MERN application - Job Portal
Design a MERN application for a job portal use case.
- 04
Node.js CPU usage investigation
Your Node.js server's CPU usage suddenly reaches 90%. How would you investigate?
- 05
API duplicate records debugging
An API starts returning duplicate records. How would you identify and fix the issue?
- 06
MongoDB memory usage investigation
MongoDB memory usage keeps increasing in production. What would you investigate?
- 07
React excessive API calls optimization
A React application makes too many API calls. How would you debug and optimize it?
Capgemini other questions
- 01
Explain hoisting in JavaScript with let, const and var
Explain hoisting in JavaScript with let, const and var.
- 02
Difference between shallow copy and deep copy
What is the difference between shallow copy and deep copy?
- 03
Event bubbling and event capturing
Explain event bubbling and event capturing.
- 04
Higher-order functions in JavaScript
What are higher-order functions in JavaScript?
- 05
Promise.all vs Promise.allSettled vs Promise.race
What is the difference between Promise.all(), Promise.allSettled() and Promise.race()?
- 06
- 07
React.memo, useMemo and useCallback
Explain React.memo(), useMemo() and useCallback().
- 08
Prop drilling avoidance
What is prop drilling and how can you avoid it?
- 09
- 10
Improving performance of large React apps
How would you improve the performance of a large React application?
- 11
Node.js suitability for I/O-heavy applications
Why is Node.js suitable for I/O-heavy applications?
- 12
process.nextTick vs setImmediate
Explain the difference between process.nextTick() and setImmediate().
- 13
Node.js concurrent request handling
How does Node.js handle concurrent requests?
- 14
Node.js streams usage
What are streams in Node.js and where would you use them?
- 15
Scalable Express.js architecture
How do you structure a scalable Express.js application?
- 16
Express.js error-handling middleware
Explain Express.js error-handling middleware.
- 17
- 18
Access token vs refresh token
Access token vs refresh token - what is the difference?
- 19
MongoDB compound indexes
What are MongoDB compound indexes and when should you use them?
- 20
MongoDB transactions
Explain MongoDB transactions and when they are required.
- 21
MongoDB find vs findOne vs aggregate
What is the difference between find(), findOne() and aggregate()?
- 22
Design efficient search API
How would you design an efficient search API?
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.