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

SDE - Intern

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

Interview preparation journey

expand-icon
Preparation
Duration: 6 months
Topics: Data Structures, Algorithms, OOPS, Computer Networks, DBMS, SQL, OS, Python
Tip
Tip

Tip 1 : Properly grasp Data Structures and Algorithms from basics. Cramming problems would not help.
Tip 2 : Try platforms like code-zen for practice. Its a good platform with selected questions. 
Tip 3 : Do at least 2 projects in which you are confident enough to answer anything the interviewer ask.
Tip 4 : Be confident with a smile on face during interviews.

Application process
Where: Campus
Eligibility: 6 CGPA
Resume Tip
Resume tip

Tip 1 : Just one page resume, not more than that for freshers.
Tip 2 : Make it as attractive/catchy as you can. Interviewers don't spend much time while reading your resume.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration120 mintues
Interview date5 Oct 2020
Coding problem3

Aptitude round was in afternoon around 3 pm and every person who has given aptitude round was also given an other chance which was coding round. There was a time gap of 1 hr between two test. both of these went online. Environment was good without any lag. Webcam was on throughout the test. There were 3 coding questions, of which 2 were medium and one was easy. I attempted all of them.

1. Left and Right Rotation of a String

Easy
15m average time
85% success
0/40
Asked in companies
AmazonAmerican ExpressBajaj Electricals Ltd

You are given a string 'str' and an integer 'D'. Your task is to rotate the given string left (anticlockwise) and right (clockwise) by 'D' units from the starting index. You are required to return the rotated string.

Example :

Left-Right Rotation

Problem approach

I first separate string to words and stored them in array. Then passed every element of array to a function which returns the rotated word. In function I used reverse technique to rotate array and this was enough to pass all test cases. I had done a similar problem in my course(Data Structures and Algorithms in Python) at Coding ninjas which helped me during my coding test.

Try solving now

2. Height of the Binary Tree

Moderate
10m average time
90% success
0/80
Asked in companies
AmazonMorgan StanleyNagarro Software

You have been given the Inorder Traversal and Level Order Traversal of a Binary Tree of integers. Your task is to calculate the height of the Binary tree without constructing it.

The height of the binary tree is the number of edges in the longest path from the root node to any leaf node in the tree. In case the tree has only one node, the height is taken to be 0.

Try solving now

3. Common Elements

Moderate
35m average time
70% success
0/80
Asked in companies
SAP LabsWalmartFlipkart limited

Given two 1-dimensional arrays containing strings of lowercase alphabets, print the elements that are common in both the arrays i.e. the strings that are present in both the arrays.

Note:
An element of one array can be mapped only to one element of the array. For example :

Array 1 = {“ab”, “dc”, “ab”, “ab”}
Array 2 = {“dc”, “ab”, “ab”} 

The common elements for the above example will be “dc”, “ab”, and “ab”. 
Try solving now
02
Round
Medium
Video Call
Duration40 minutes
Interview date7 Oct 2020
Coding problem1

This round was at 12 pm. Interviewer and I greeted each other and then he asked me to explain all the questions I had done during test. He shared screen with my report of test which was having the solutions I typed during coding rounds. It took around 20 minutes to explain all three questions. Interviewer was happy with my explanation. Then he had asked me one coding question and various questions based on my project. I answered him all with a smile.

1. Maximum Subarray Sum

Moderate
35m average time
81% success
0/80
Asked in companies
HCL TechnologiesInformaticaSamsung

You are given an array 'arr' of length 'n', consisting of integers.


A subarray is a contiguous segment of an array. In other words, a subarray can be formed by removing 0 or more integers from the beginning and 0 or more integers from the end of an array.


Find the sum of the subarray (including empty subarray) having maximum sum among all subarrays.


The sum of an empty subarray is 0.


Example :
Input: 'arr' = [1, 2, 7, -4, 3, 2, -10, 9, 1]

Output: 11

Explanation: The subarray yielding the maximum sum is [1, 2, 7, -4, 3, 2].
Problem approach

I explained him first brute force algorithm, which was to generate all sub arrays of array and then find sum from all these with picking the maximum sum from all. Interviewer was not satisfied and he asks for an optimized approach. I then explain him the kadane's algorithm with an example and he was satisfied with the approach and the example given by me. 

Try solving now
03
Round
Medium
HR Round
Duration30 minutes
Interview date8 Oct 2020
Coding problem1

It was in afternoon. HR called to me to fix a meeting on Microsoft teams. He was very polite with experience of corporate environment.

1. HR Discussion

Problem approach

Tip 1: Confidence is the key you need to be expert in. I was not aware of some things interviewer asked during my interviews. But due to my confidence, he skipped that part. 
Tip 2: Practice Data Structures and Algorithms as much as you can without cramming questions. Coding Ninjas is a really good platform if you are looking for any course.
Tip 3: Be in formals with properly ironed dress, and try to join 5 minutes early than the joining time. It will have a positive affect.

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
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Nagarro Software
989 views
1 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 4 problems
Interviewed by Nagarro Software
978 views
0 comments
0 upvotes
company logo
SDE - Intern
3 rounds | 4 problems
Interviewed by Nagarro Software
0 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 3 problems
Interviewed by Nagarro Software
848 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Amazon
15481 views
4 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 7 problems
Interviewed by Microsoft
15339 views
1 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Amazon
10142 views
2 comments
0 upvotes