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

SDE - 1

Nagarro Software
upvote
share-icon
3 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3 months
Topics: Data Structures, OOPS, Core Java, DBMS, Algorithms
Tip
Tip

Tip 1 : Maintain regularity of practicing questions, be consistent.
Tip 2 : Brushup the basics of the language you are good in. Don't try to learn so many languages. Just be stick on one. I will suggest to choose Object Oriented Programming Language like Java.
Tip 3 : Do at least 2 project, as project also matters a lot while shortlisting your resume.

Application process
Where: Company Website
Eligibility: No criteria
Resume Tip
Resume tip

Tip 1: Mention at least 2 project as being fresher it matters a lot.
Tip 2: Don't put unnecessary thing in resume like hobby, interest as it will create a bad impression.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration210 minutes
Interview date7 Feb 2022
Coding problem2

60 min (Aptitude+Reasoning)
150 min (Coding)

1. Count Minimum Steps

Moderate
30m average time
65% success
0/80
Asked in company
Nagarro Software

Ram is a bright student in his class. He is very good at mathematics. So to test his skills, one of his friends Shyam thought of giving him a task.

In the task, Shyam would give Ram a ‘TARGET’ array of ‘N’ length. And also give him an array ‘ARR’ of length ‘N’ with all zeros. Ram has to change the array ‘ARR’ into the ‘TARGET’ array using the minimum number of operations. The two types of operation that can be performed on the array ‘ARR’ are as follows:

1) Incremental operations: Choose 1 element from the array ‘ARR’ and increment its value by one.

2) Doubling operation: Double the values of all the elements of the array ‘ARR’.

Shyam is not as smart as Ram, He needs your assistance to find the minimum number of operations required to change the array ‘ARR’ into ‘TARGET’. So that he can verify the correctness of the answer given by Ram. Can you help him to find the minimum steps?.

We are given the desired array ‘TARGET’ containing ‘N’ elements. Compute and return the smallest possible number of the operations needed to change the array from all zeros to the desired array.

Example :
Input: ‘N’ = 2, ‘TARGET’ = {2, 3}

Output: 4
In this case, To get the target array from {0, 0}, we first, increment both elements by 1 (2 operations), then double the array (1 operation). Finally, increment the second element (1 more operation).
Problem approach

Coding question

Try solving now

2. Town Planning

Hard
35m average time
50% success
0/120
Asked in companies
HCL TechnologiesNagarro Software

Town planner Ninja is assigned to build new houses in the ninja town for its citizens. The town is in the form of a rectangular grid ‘TOWN[][]’ of (‘M’ * ‘N’) dimensions where 'M' is the number of rows and 'N' is the number of columns. Each cell of the grid can be an 'empty location' (that can be used for house) denoted by '.' or 'Tree' denoted by 'T'.

Ninja wants to meet the demands of the citizens without cutting any of the trees.

Following are the conditions asked by citizens for their house locations :
House should not have a house on its left cell
House should not have a house on its right cell
House should not have a house on its upper-left cell
House should not have a house on its upper-right cell
Town planner Ninja needs your help. Return the maximum number of houses that can be built while meeting the citizens' demands and not cutting any of the trees.

For Example :

Input  :
M = 3 , N = 5
Grid :
. . . T .
. T . . .
T . . T .

In the example above, the maximum number of houses that be built is 8.
Try solving now
02
Round
Medium
Video Call
Duration25 minutes
Interview date15 Feb 2022
Coding problem1

Data structures use case problem.
A Linked List question (Finding loop in LL).
Sorting implementation.
Core Java Concepts like Garbage collection, OOPS, Constructors, Threads.

1. Cycle Detection in a Singly Linked List

Moderate
15m average time
80% success
0/80
Asked in companies
Morgan StanleyDunzoOYO

You are given a Singly Linked List of integers. Return true if it has a cycle, else return false.


A cycle occurs when a node's next points back to a previous node in the list.


Example:
In the given linked list, there is a cycle, hence we return true.

Sample Example 1

Try solving now
03
Round
Easy
HR Round
Duration15 minutes
Interview date2 Mar 2022
Coding problem1

1. Basic HR Questions

Introduction.
Academic background.
Language skills.
Location preference.

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
company logo
SDE - 1
3 rounds | 3 problems
Interviewed by Nagarro Software
0 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Nagarro Software
936 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 4 problems
Interviewed by Nagarro Software
1221 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 4 problems
Interviewed by Nagarro Software
758 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
58237 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
35147 views
7 comments
0 upvotes