Skip to main content
Back to Companies
Capgemini logo

Capgemini Interview Questions (36)

Practice real interview problems from Capgemini

#1

Two Sum

Easy✓ Solution📹 Video
Accenture+126
#2

Add Two Numbers

Medium✓ Solution📹 Video
Accenture+36
#7

Reverse Integer

Medium✓ Solution📹 Video
Accenture+21
#9

Palindrome Number

Easy✓ Solution📹 Video
Accenture+31
#11

Container With Most Water

Medium✓ Solution📹 Video
Accenture+57
#13

Roman to Integer

Easy✓ Solution📹 Video
Accenture+35
#14

Longest Common Prefix

Easy✓ Solution📹 Video
Accenture+59
#18

4Sum

Mediumâś“ Solution
Accenture+19
#21

Merge Two Sorted Lists

Easy✓ Solution📹 Video
Accenture+35
#49

Group Anagrams

Medium✓ Solution📹 Video
Accolite+86
#66

Plus One

Easy✓ Solution📹 Video
Accenture+12
#75

Sort Colors

Medium✓ Solution📹 Video
Agoda+36
#176

Second Highest Salary

Medium✓ Solution📹 Video
Accenture+18
#189

Rotate Array

Medium✓ Solution📹 Video
Accenture+26
#217

Contains Duplicate

Easy✓ Solution📹 Video
Accenture+19
#242

Valid Anagram

Easy✓ Solution📹 Video
Accenture+39
#283

Move Zeroes

Easy✓ Solution📹 Video
Accenture+45
#322

Coin Change

Medium✓ Solution📹 Video
Accenture+39
#560

Subarray Sum Equals K

Medium✓ Solution📹 Video
Accenture+46
#626

Exchange Seats

Medium✓ Solution📹 Video
Amazon+8
#1877

Minimize Maximum Pair Sum in Array

Medium✓ Solution📹 Video
Amazon+5
#2677

Chunk Array

Easy✓ Solution📹 Video
Capgemini+1

About Capgemini Coding Interviews

Capgemini is one of the largest global IT consulting and engineering companies, hiring thousands of developers and software engineers every year. Their hiring process focuses on evaluating strong problem-solving ability, clean coding practices, and the ability to work with real-world software systems. For fresh graduates and early-career engineers, the Capgemini coding interview is often the most important stage of the selection process.

The Capgemini interview process typically includes an online coding assessment followed by one or two technical interview rounds and a final HR discussion. In the coding assessment, candidates are usually asked to solve 2–3 algorithmic problems within a limited time window. These problems test fundamental data structures and logical thinking rather than extremely complex algorithms.

From analyzing real interview experiences, Capgemini tends to focus on core DSA patterns such as:

  • Arrays and string manipulation problems
  • Hashing and frequency counting
  • Basic recursion and backtracking
  • Sorting and searching techniques
  • Linked list and stack problems

The overall difficulty distribution is usually easy to medium, but speed and correctness matter. Many candidates struggle not because the problems are impossible, but because they haven't practiced enough variations of common patterns.

To help you prepare efficiently, FleetCode has compiled 36 real Capgemini interview questions asked in past coding rounds. The problems are organized by difficulty and include solutions in Python, Java, and C++. By practicing these curated problems, you can quickly recognize the patterns Capgemini interviewers commonly test and approach the coding interview with confidence.

Interview Tips for Capgemini

If you're preparing for a Capgemini coding interview, understanding the structure of their hiring process can significantly improve your chances of success. Capgemini's interview process is designed to evaluate both your coding fundamentals and your ability to communicate technical ideas clearly.

For most software engineering roles, the process typically includes:

  • Online Assessment (60–90 minutes): Usually contains 2–3 coding problems along with aptitude or logical reasoning questions. The coding problems are typically easy to medium difficulty.
  • Technical Interview Round: Focuses on data structures, basic algorithms, and programming concepts. Interviewers may ask you to explain your approach and optimize your solution.
  • Managerial or HR Round: Evaluates communication skills, project experience, teamwork, and cultural fit.

Based on candidate reports, the most common coding topics in Capgemini interviews include:

  • Arrays and strings: Pattern detection, substring problems, rotations, and frequency counting.
  • Hash maps and sets: Used to optimize brute-force solutions.
  • Sorting and searching: Binary search and custom sorting logic appear frequently.
  • Basic recursion or backtracking: Often used for generating combinations or solving puzzle-style problems.
  • Linked lists and stacks: Occasionally tested to check understanding of pointers and data structure behavior.

A strong preparation strategy is to practice around 30–40 targeted problems that cover these patterns rather than trying to solve hundreds of random problems. Focus on writing clean code, handling edge cases, and explaining your logic step-by-step.

Common mistakes candidates make include:

  • Jumping straight into coding without explaining their approach
  • Ignoring edge cases like empty inputs or duplicates
  • Writing inefficient solutions without discussing optimization
  • Panicking when encountering a slightly unfamiliar variation

Most candidates can prepare effectively for Capgemini within 2–4 weeks if they consistently practice DSA fundamentals. Working through a curated set of real interview questions—like the 36 Capgemini problems on FleetCode—helps you recognize common patterns quickly and perform confidently during the actual coding round.