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

Software Engineer

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

Interview preparation journey

expand-icon
Preparation
Duration: 1 month
Topics: Data structure, OOPS, Algorithms, Pointers, C++
Tip
Tip

Tip 1 : Be regular in practice 
Tip 2 : Focus on data structures 
Tip 3 : Focus on any one language

Application process
Where: Campus
Eligibility: 60% in Graduation
Resume Tip
Resume tip

Tip 1 : Mention all the achievements and projects 
Tip 2 : Mention all the technologies u know

Interview rounds

01
Round
Medium
Online Coding Interview
Duration60 minutes
Interview date25 Sep 2021
Coding problem2

1. Count Inversions

Moderate
40m average time
55% success
0/80
Asked in companies
Hewlett Packard EnterpriseBNY MellonGrab

For a given integer array/list 'ARR' of size 'N' containing all distinct values, find the total number of 'Inversions' that may exist.

An inversion is defined for a pair of integers in the array/list when the following two conditions are met.

A pair ('ARR[i]', 'ARR[j]') is said to be an inversion when:

1. 'ARR[i] > 'ARR[j]' 
2. 'i' < 'j'

Where 'i' and 'j' denote the indices ranging from [0, 'N').
Try solving now

2. Count Strongly Connected Components (Kosaraju’s Algorithm)

Hard
40m average time
65% success
0/120
Asked in companies
Morgan StanleyMedia.netAtlassian

You are given an unweighted directed graph having 'V' vertices and 'E' edges. Your task is to count the number of strongly connected components (SCCs) present in the graph.

A directed graph is said to be strongly connected if every vertex is reachable from every other vertex. The strongly connected components of a graph are the subgraphs which are themselves strongly connected.

Note :
Use zero-based indexing for the vertices.

The given graph doesn’t contain any self-loops.
Try solving now
02
Round
Easy
Online Coding Interview
Duration60 Minutes
Interview date25 Sep 2021
Coding problem2

1. Remainder When Divided By 11

Easy
15m average time
85% success
0/40
Asked in companies
AmazonIntuitNagarro Software

You are given a number N. You need to find the remainder when N is divided by 11.

Note :
Number N may be very large.
Try solving now

2. Justify Text

Hard
35m average time
50% success
0/120
Asked in companies
AdobeWalmartUber

Given a sentence(in the form of an array of words), and an integer ‘L’, return an array of strings i.e a paragraph such that each line has exactly ‘L’ characters, and is left and right justified.

Justification of text means that space is added between words so that both edges of each line are aligned with both margins. The last line in the paragraph is aligned left.

One needs to add the maximum number of words in a line such that the number of lines is minimised.

We can add whitespaces in a line so that each line has exactly the same number of characters i.e L.

If the number of spaces on a line does not divide evenly between words, the empty slots on the left will be assigned more spaces than the slots on the right.

For the last line of text, it should be left justified and no extra space is inserted between words.

For example:
Let the given sentence be: [ “what”, “must”, “be”, “shall”, “be.”]
And L=12.

The justified output will be :

[ “what must be”
“Shall be.”       ]

Note that the last line is only left justified.
Try solving now
03
Round
Easy
Online Coding Interview
Duration60 Minutes
Interview date25 Sep 2021
Coding problem1

Hr round

1. Puzzle

In a laundry, it happens often that people forget to take their money out of their pockets and the money is washed with the clothes. The laundry man simply takes these wet notes out and puts them sequentially under the sunlight to dry them. He does not mix them up, for example, if he gets 3 notes from one cloth, he placed them sequentially and the places the notes received from other clothes and so on. Shane forgot some money in his trousers and gave his clothes to the laundry man, afterwards, when he realized his mistake, he got back to the laundry and asked for his money. You have to tell the number of notes he forgot in his trousers if he knows the exact amount he forgot in his trouser.

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
Software Engineer
4 rounds | 4 problems
Interviewed by Nagarro Software
1478 views
0 comments
0 upvotes
company logo
Software Engineer
3 rounds | 4 problems
Interviewed by Nagarro Software
968 views
0 comments
0 upvotes
company logo
Software Engineer
3 rounds | 3 problems
Interviewed by Nagarro Software
0 views
0 comments
0 upvotes
company logo
Software Engineer
2 rounds | 3 problems
Interviewed by Nagarro Software
890 views
1 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Engineer
3 rounds | 7 problems
Interviewed by Optum
7977 views
1 comments
0 upvotes
company logo
Software Engineer
5 rounds | 5 problems
Interviewed by Microsoft
10148 views
1 comments
0 upvotes
company logo
Software Engineer
2 rounds | 4 problems
Interviewed by Amazon
4448 views
1 comments
0 upvotes