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

SDE - 1

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

Interview preparation journey

expand-icon
Journey
Duration : 20 min interview date : 17 September 2022 time : 4 pm the interview process was very smooth. Interview was scheduled for 4 pm and took around 20 mins. It was conducted on MS teams. The interviewer was frank. ..Firstly he asked me tell me about yourself. then he asked questions related to my my project. how you have done this project?. which database have u used in this project? then he came up to my technical skills. he asked which language do u prefer? I told him c++..then he asked why c++? then he asked me about oops concept. q1> what is chain constructor? q2> what is constructor? q3> what is polymorphism? q4> difference between function overloading and function overriding? q5> which data structure we will use if we need to store large amount of data? q5> operation of stacks? q6> difference between peek and pop? q7> what is pure virtual function? coding question q1> reverse the string q2> bubble sort he just wanted the logic of the logic of code..
Application story
It was an Aptitude + Technical MCQ round(1 hr). It started at morning around 9:00 am and the test duration was of one hour. The questions level was easy to moderate. Practice indiabix for aptitude and practice gfg for technical question.
Why selected/rejected for the role?
i got rejection mail. because .he was not impressed by my project. few mistakes i have done while i was explaining my projects. first impression was bad during interview. i was stuck in some question like, he asked me about chain constructor, i was blank for a moment . then i answered the definition of constructor ..then he asked what is constructor? and few more question i was stuck in those question. i wasnt able to ans it..
Preparation
Duration: 2 months
Topics: Data Structure, Array, String, Stacks, OOPS
Tip
Tip

Tip 1 : Do practice coding question regularly on platform like leetcode, gfg. 
Tip 2 : Before going interview. Check the interview experience on GFG. You will get some idea.
Tip 3 : Maintain your consistency

Application process
Where: Campus
Eligibility: CSE, IT and ECE and 60% in the current degree with no active backlog
Resume Tip
Resume tip

Tip 1 : Don't write false information in your resume.
Tip 2 : Be prepared with your resume

Interview rounds

01
Round
Easy
Online Coding Interview
Duration60 minutes
Interview date6 Sep 2022
Coding problem2

It was an Aptitude + Technical mcq round(1 hr duration). It started at morning around 9:00am and the test duration was of one hour. The questions were of moderate difficulty. Practice the indiabix ques for aptitude and gfg for technical mcq.
most of the question were available on internet. Which you can find easily

1. Largest Sum Subarray with at least K Numbers

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

You are given two arrays of the same size. Your task is to maximize the possible sum that can be calculated using elements of the two given arrays. You are allowed to swap elements between the arrays at the same position any number of times to achieve this.

Note:
The maximum sum is calculated by using the following rules:-

For every ‘i’ in range 0...N:

Max_sum += abs(arr1[i] - arr2[i])

And If i < N-1:
    Max_sum += abs(arr1[i+1] - arr2[i])
For Example
Input:
n = 4
arr1[] = {2,3,4,1}
arr2[] = {2,4,1,1}

Ouput: 11


Explanation:

Here we will swap arr1[2] and arr2[2]. (Swap)

arr1[] = {2,3,1,1}
arr2[] = {2,4,4,1}

for this type of arrangement, we have our maximum Define Sum.

Sum = abs(arr1[0]-arr2[0]) + abs(arr1[1]-arr2[0]) + abs(arr1[1]-arr2[1]) + abs(arr1[2]-arr2[1]) ....
Sum = abs(2-2) + abs(3-2) + abs(3-4) + abs(1-4) + abs(1-4) + abs(1-4) + abs(1-1) = 11
Try solving now

2. Maximize Sum

02
Round
Medium
Online Coding Test
Duration150 minutes
Interview date6 Sep 2022
Coding problem3

It was a coding round. The duration of the coding round was 150 min. There were 5 coding question in this round
in my college, they were hiring for 2 roles first one is sd (4.5 LPA).
There are 5 question in round 2, first three question was easy to moderate. these ques are for the SDE role. I was able to solve all three question
next two questions was little bit difficult, but I practiced a lot of question. Those 2 question I was able to solve those.

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. Reverse the String

Easy
15m average time
85% success
0/40
Asked in companies
SAP LabsWalmartFacebook

You are given a string 'STR'. The string contains [a-z] [A-Z] [0-9] [special characters]. You have to find the reverse of the string.

For example:

 If the given string is: STR = "abcde". You have to print the string "edcba".
follow up:
Try to solve the problem in O(1) space complexity. 
Try solving now

3. Distribute N candies among K people

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

Sanyam has ‘N’ candies, he wants to distribute that into ‘K’ of his friends. He made his ‘K’ friends stand in line, in increasing order of his likeness. Not being so smart he gives 1 candy to the first friend, 2 to the second person, and so on till the kth person. In the next turn, the first person gets ‘K + 1’ candies, the second person gets ‘K + 2’ candies, and so on.

While distributing the candies, if at a turn, the number of candies to be given to a friend is less than the required candies, then that friend gets all the remaining candies and Sanyam stops the distribution.

Your task is to find the total number of candies every person has at the end.

Try solving now

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