Capegemini Consulting India Private Limited interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

Capegemini Consulting India Private Limited
upvote
share-icon
3 rounds | 7 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3 months
Topics: Data Structures, OOPS, DBMS, OOPs, Algorithms, DP, Greedy
Tip
Tip

Tip 1 : Try solving Love Babbar 450 Prog questions
Tip 2 : Have a good resume
Tip 3 : Do learn some extra technologies eg. ML/AI

Application process
Where: Campus
Eligibility: 7+ CGPA, No Backlog
Resume Tip
Resume tip

Tip 1 : Do not lie at all
Tip 2 : Have some projects listed

Interview rounds

01
Round
Easy
Online Coding Interview
Duration120 Minutes
Interview date13 Nov 2020
Coding problem3

1. MCQ Questions

Basic Apti qs were asked like
-Speed distance and time
- Work and time
- Profit loss
- Probability
- Percentage

2. The Skyline Problem

Hard
15m average time
85% success
0/120
Asked in companies
Samsung R&D InstituteAppleUber

You are given 'N' rectangular buildings in a 2-dimensional city. Your task is to compute the skyline of these buildings, eliminating hidden lines return the skyline formed by these buildings collectively. A city's skyline is the outer contour of the silhouette formed by all the buildings in that city when viewed from a distance. The geometric information of each building is given in the array of buildings where BUILDINGS[i] = [LEFT_i, RIGHT_i, HEIGHT_i]:

-> LEFT_i is the x coordinate of the left edge of the ith building.

-> RIGHT_i is the x coordinate of the right edge of the ith building.

-> HEIGHT_i is the height of the ith building.

You may assume all buildings are perfect rectangles grounded on an absolutely flat surface at height 0.

The skyline should be represented as a list of "key points" sorted by their x-coordinate in the form [[x1, y1], [x2, y2], ...]. Each key point is the left endpoint of some horizontal segment in the skyline except the last point in the list, which always has a y-coordinate 0 and is used to mark the skyline's termination where the rightmost building ends. Any ground between the leftmost and rightmost buildings should be part of the skyline's contour.

Note:
There must be no consecutive horizontal lines of equal height in the output skyline. For instance, [...,[2 3], [4 5], [7 5], [11 5], [12 7],...] is not acceptable; the three lines of height 5 should be merged into one in the final output.

As such: [..., [2 3], [4 5], [12 7],...]. 

Also, the buildings are sorted by a non-decreasing order.

For more clarification see sample case 1.
Try solving now

3. Wildcard Pattern Matching

Hard
50m average time
30% success
0/120
Asked in companies
FreshworksWalmartSamsung R&D Institute

Given a text and a wildcard pattern of size N and M respectively, implement a wildcard pattern matching algorithm that finds if the wildcard pattern is matched with the text. The matching should cover the entire text not partial text.

The wildcard pattern can include the characters ‘?’ and ‘*’

 ‘?’ – matches any single character 
 ‘*’ – Matches any sequence of characters(sequence can be of length 0 or more)
Try solving now
02
Round
Easy
Online Coding Test
Duration30 Minutes
Interview date14 Dec 2020
Coding problem2

1. Output Question

. What will be the output of the following pseudocode?

Integer i

Set i = 3

do

print i + 3

i = i - 1

while(i not equals 0)

end while

2. Time To Burn Tree

Hard
50m average time
50% success
0/120
Asked in companies
MicrosoftThalesOLX Group

You have a binary tree of 'N' unique nodes and a Start node from where the tree will start to burn. Given that the Start node will always exist in the tree, your task is to print the time (in minutes) that it will take to burn the whole tree.


It is given that it takes 1 minute for the fire to travel from the burning node to its adjacent node and burn down the adjacent node.


For Example :
For the given binary tree: [1, 2, 3, -1, -1, 4, 5, -1, -1, -1, -1]
Start Node: 3

    1
   / \
  2   3
     / \
    4   5

Output: 2

Explanation :
In the zeroth minute, Node 3 will start to burn.

After one minute, Nodes (1, 4, 5) that are adjacent to 3 will burn completely.

After two minutes, the only remaining Node 2 will be burnt and there will be no nodes remaining in the binary tree. 

So, the whole tree will burn in 2 minutes.
Try solving now
03
Round
Easy
Video Call
Duration25 Minutes
Interview date12 May 2021
Coding problem2

1. Technical Questions

He asked me to explain my project in detail.
What are my three favorite core subjects?
Differentiate the classic waterfall model and iterative model.
What are the types of integrity constants in DBMS and explain them?
What are the different data abstraction levels in DBMS and explain them?

2. General Questions

He introduced himself and asked me to introduce myself, and then he asked me to explain my project in detail. And, then he asked to explain the difficulties that I faced during my project and how I managed to overcome those problems? Finally, he asked me if I have a question for him and I asked one question him, and he answered my question.

Here's your problem of the day

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

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
SDE - 1
2 rounds | 6 problems
Interviewed by Capegemini Consulting India Private Limited
0 views
0 comments
0 upvotes
SDE - 1
3 rounds | 5 problems
Interviewed by Capegemini Consulting India Private Limited
385 views
0 comments
0 upvotes
SDE - 1
3 rounds | 13 problems
Interviewed by Capegemini Consulting India Private Limited
471 views
0 comments
0 upvotes
SDE - 1
2 rounds | 3 problems
Interviewed by Capegemini Consulting India Private Limited
454 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
114578 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
57824 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
34960 views
7 comments
0 upvotes