Capgemini interview experience Real time questions & tips from candidates to crack your interview

Analyst

Capgemini
upvote
share-icon
3 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Journey
My Capgemini interview journey started with strengthening my DSA basics and practicing coding questions regularly on online platforms. I focused on improving problem-solving speed and understanding core concepts. Alongside DSA, I revised SQL thoroughly, covering joins, subqueries, and functions, since I knew database skills were important. In the final round, most questions revolved around SQL, and my preparation really helped me perform confidently.
Application story
I applied for Capgemini through the Superset platform during my on-campus placement drive. The entire process took around a week and included three rounds – an online coding test, a technical interview, and an HR round. After one week, I was informed that I had cleared all rounds, and after about four months, I received my official offer letter.
Why selected/rejected for the role?
I believe I was selected because I prepared consistently, stayed confident throughout the process, and demonstrated clear understanding of concepts during technical and HR rounds. My positive attitude and strong problem-solving approach also helped me stand out.
Preparation
Duration: 3 months
Topics: SQL, OOPS, Data Structures, DBMS, Python, Java
Tip
Tip

Tip 1: Practice at least 200–250 coding questions focusing on DSA and SQL queries.
Tip 2: Revise OOPS and DBMS concepts thoroughly with real-life examples for better understanding.
Tip 3: Focus on writing clean and optimized code in your preferred language.

Application process
Where: Campus
Eligibility: 60% in 10th 12th & graduation, (Salary Package: 4 LPA)
Resume Tip
Resume tip

Tip 1: Include relevant academic or personal projects that highlight your technical skills.
Tip 2: Keep your resume honest and avoid adding skills you’re not confident about.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration90 minutes
Interview date2 Aug 2024
Coding problem2

The round was conducted during normal working hours, and the online platform was smooth and user-friendly without any technical issues. The focus was entirely on coding and multiple-choice questions, with no additional activities or group tasks. Since this was an online test, there was no interviewer present for this round.

1. Swap Number Without Temporary Variable

Easy
15m average time
85% success
0/40
Asked in companies
Tata Consultancy Services (TCS)BNY MellonOracle

Given two variables ‘X’ and ‘Y’. Your task is to swap the number without using a temporary variable or third variable.

Swap means the value of ‘X’ and ‘Y’ must be interchanged. Take an example ‘X’ is 10 and ‘Y’ is 20 so your function must return ‘X’ as a 20 and ‘Y’ as a 10.

Problem approach

Initial Approach: I first thought of using a temporary variable to swap the two numbers, as this is the most straightforward method. However, the interviewer specifically asked me to find a solution that does not use extra memory or variables.
Optimized Approach: I then applied arithmetic operations to swap the numbers without any extra variable. The approach used was:
a = a + b
b = a - b
a = a - b
Here, the first step sums the two numbers, the second step assigns the original value of a to b, and the third step assigns the original value of b to a. This method successfully swaps the numbers using only arithmetic operations.

Try solving now

2. Largest Element in the Array

Easy
10m average time
90% success
0/40
Asked in companies
CognizantTech MahindraMakeMyTrip

Given an array ‘arr’ of size ‘n’ find the largest element in the array.


Example:

Input: 'n' = 5, 'arr' = [1, 2, 3, 4, 5]

Output: 5

Explanation: From the array {1, 2, 3, 4, 5}, the largest element is 5.
Problem approach

Initial Approach: I started by considering a brute-force method, comparing each element with every other element in the array. However, this approach would take unnecessary extra iterations.
Optimized Approach: I implemented a single-pass iteration approach. I initialized a variable max with the first element of the array and then iterated through the remaining elements, updating max whenever I found a larger value. The logic can be summarized as:
max = arr[0]
for each element in arr:
if element > max:
max = element
return max
This approach ensures the highest number is found efficiently in O(n) time complexity.

Try solving now
02
Round
Medium
Face to Face
Duration60 minutes
Interview date5 Aug 2024
Coding problem2

1. Reverse an Array

Easy
10m average time
95% success
0/40
Asked in companies
SamsungCapgeminiHealspan

Given an array 'arr' of size 'n'.


Return an array with all the elements placed in reverse order.


Note:
You don’t need to print anything. Just implement the given function.
Example:
Input: n = 6, arr = [5, 7, 8, 1, 6, 3]

Output: [3, 6, 1, 8, 7, 5]

Explanation: After reversing the array, it looks like this [3, 6, 1, 8, 7, 5].
Problem approach

Initial Approach: I first thought of creating a new array to store reversed elements, but the interviewer asked for an in-place solution without extra memory.
Optimized Approach: I used a two-pointer technique. I placed one pointer at the start and another at the end of the array, then swapped the elements at these positions and moved the pointers toward each other until they met.
python:
start = 0
end = n-1
while start < end:
arr[start], arr[end] = arr[end], arr[start]
start += 1
end -= 1

Try solving now

2. SQL

Given two tables, Employees and Departments, write a SQL query to find the names of all employees along with the name of the department they belong to. Include employees even if they are not assigned to any department
Tables:
Employees(EmpID, EmpName, DeptID)
Departments(DeptID, DeptName)

Problem approach

Understand the requirement: I needed to fetch all employees with their department names, including employees who might not belong to any department. This indicates an OUTER JOIN is required.
Write the query:
SELECT e.EmpName, d.DeptName
FROM Employees e
LEFT JOIN Departments d
ON e.DeptID = d.DeptID;
Here, LEFT JOIN ensures all employees are included even if DeptID in Employees does not match any in Departments.

03
Round
Medium
HR Round
Duration30 minutes
Interview date8 Aug 2024
Coding problem1

The interviewer was friendly, encouraging me to express my experiences and thoughts clearly. The round primarily focused on understanding my personality, communication skills, career goals, and alignment with Capgemini’s culture. There were no coding or technical tasks in this round.

1. HR Questions

  • Tell me about yourself.
  • Why do you want to join Capgemini?
  • What are your strengths and weaknesses?
  • Describe a challenging situation and how you handled it.
  • Are you comfortable with night shifts ?
  • Are you ready to relocate?
  • Any previous experience you have in job?
Problem approach

Tip 1: Prepare a concise and confident introduction highlighting your academics, skills, and achievements. Keep it professional but personable.
Tip 2: Be honest and specific about strengths and weaknesses, and always mention steps you are taking to improve weaknesses.
Tip 3: For situational questions, use the STAR method (Situation, Task, Action, Result) to clearly explain challenges and outcomes.

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

Which SQL clause is used to specify the conditions in a query?

Choose another skill to practice
Similar interview experiences
company logo
SDE - Intern
1 rounds | 3 problems
Interviewed by Amazon
3068 views
0 comments
0 upvotes
company logo
Java Developer
2 rounds | 7 problems
Interviewed by Capgemini
6938 views
0 comments
0 upvotes
company logo
Software Engineer
2 rounds | 5 problems
Interviewed by Capgemini
1669 views
0 comments
0 upvotes
company logo
Fullstack Developer
3 rounds | 5 problems
Interviewed by Capgemini
182 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Analyst
2 rounds | 2 problems
Interviewed by Tata Consultancy Services (TCS)
2723 views
0 comments
0 upvotes
Analyst
3 rounds | 3 problems
Interviewed by Virtusa
1143 views
0 comments
0 upvotes
company logo
Analyst
2 rounds | 7 problems
Interviewed by Dunzo
810 views
0 comments
0 upvotes