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
2 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 6 months
Topics: Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming
Tip
Tip

Tip 1 : Do one project in JAVA
Tip 2 : Do practice on coding hubs

Application process
Where: Campus
Eligibility: No Criteria
Resume Tip
Resume tip

Tip 1 : Education is Important, But After Experience
Tip 2 : Do not put false things on resume.

Interview rounds

01
Round
Hard
Online Coding Test
Duration60 Minutes
Interview date16 Feb 2022
Coding problem5

- Morning time
- Environment was good.
- No
- Interviewer was good

1. Number of Islands

Easy
0/40
Asked in companies
IBMDunzoMicrosoft

You have been given a non-empty grid consisting of only 0s and 1s. You have to find the number of islands in the given grid.

An island is a group of 1s (representing land) connected horizontally, vertically or diagonally. You can assume that all four edges of the grid are surrounded by 0s (representing water).

Try solving now

2. Minimum Fountains

Easy
10m average time
80% success
0/40
Asked in companies
BNY MellonUberAdobe

There is a one-dimensional garden of length 'N'. On each of the positions from 0 to 'N', there is a fountain, and this fountain’s water can reach up to a certain range as explained further. In other words, there are 'N' + 1 fountains located at positions 0, 1, 2, 3, …. 'N' which can be activated in the garden.

You are given an integer 'N' and an array/list 'ARR' of length 'N' + 1, where each index of the array denotes the coverage limit of a particular fountain.

A fountain at index 'i' can water the area ranging from the position 'i' - 'ARR'['i'] to 'i' + 'ARR'['i'].

Your task is to find the minimum number of fountains that have to be activated such that the whole garden from position 0 to 'N' has access to the water from at least some fountain.

Note:

1. 0-based indexing is used in the array.
2. We only care about the garden from 0 to 'N' only. So if i - 'ARR'['i'] < 0 or i + 'ARR'['i'] > 'N', you may ignore the exceeding area.
3. If some fountain covers the garden from position 'A' to position 'B', it means that the water from this fountain will spread to the whole line segment with endpoints 'A' and 'B'.
Try solving now

3. Weighted Job Scheduling

Moderate
15m average time
85% success
0/80
Asked in companies
AmazonIntuitPhonePe

You are given 'N' jobs with their start time 'Start', end time 'End' and profit 'Profit'. You need to tell the maximum profit you can obtain by performing these jobs such that no two jobs overlap.

Note:
The start time of one job can be equal to the end time of another.
Try solving now

4. Kth Largest Element In A Stream

Moderate
30m average time
65% success
0/80
Asked in companies
Wells FargoGoldman SachsPhonePe

You will be given a stream of numbers, and you need to find the 'kth' largest number in the stream at any given time.


As the stream of numbers can not be given during compile time, so you need to design a data structure which can accept infinite numbers and can return the 'kth' largest number at any given time.


The stream of numbers is nothing but a large collection of numbers from which integers are read at runtime, such as the user will never know the upper limit on the number of integers that will be read.


The implemented data structure must support the following operations:

1. add(DATA) :
   This function should take one argument of type and store it in its pool and returns the 'kth' largest number from the current pool of integers.

You will be given 'q' queries:

val - For this query, insert the integer into your current pool of integers and return the 'kth' largest integer from the existing pool of integers.
Note
 1. The maximum number of integers that will be given will always be under memory limits.

 2. You will also be given an initial pool of integers whose size equals k.

 3. The maximum number of queries will be less than 10^5.

 4. The 'kth' largest element is not the 'kth' distinct element but the 'kth' largest element in the sorted order.

 5. There will be at least one query of type 2.
Try solving now

5. Pattern Printing

Easy
10m average time
95% success
0/40
Asked in companies
HashedInCapegemini Consulting India Private LimitedCatchpoint

Ninja has been given two integers 'M' and ‘N’.

Now Ninja has to draw a rectangle of height ‘M’ and breadth ‘N’ using the character * such that the * only occurs at the boundaries of the rectangle, and inside of this boundary, there is space only.

Now, Ninja doesn’t know how to perform this operation.

You being Ninja's best friend, your task is to help Ninja to solve this problem.

EXAMPLE:
Input: 'M' = 2, ‘N’ = 2  

Output: 
**
**
Try solving now
02
Round
Medium
HR Round
Duration30 Minutes
Interview date11 May 2022
Coding problem1

- Morning time
- Environment was good.
- No
- Interviewer was good

1. Basic HR Questions

How does this job compare to others you might be interviewing for? 

What interests you about this role? 

What critical feedback do you most often receive? 

What have been your most positive and negative management experiences?

Problem approach

Tip 1 : Practice as much as you can
Tip 2 : Practice in group

Here's your problem of the day

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

Skill covered: Programming

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
SDE - 1
3 rounds | 4 problems
Interviewed by Capegemini Consulting India Private Limited
0 views
1 comments
0 upvotes
SDE - 1
3 rounds | 5 problems
Interviewed by Capegemini Consulting India Private Limited
400 views
0 comments
0 upvotes
SDE - 1
3 rounds | 13 problems
Interviewed by Capegemini Consulting India Private Limited
484 views
0 comments
0 upvotes
SDE - 1
2 rounds | 3 problems
Interviewed by Capegemini Consulting India Private Limited
472 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
115097 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
58238 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
35147 views
7 comments
0 upvotes