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

CSD

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

Interview preparation journey

expand-icon
Preparation
Duration: 3 Months
Topics: Array, Linked List , Operating System, Algorithms, Computer Networks
Tip
Tip

Tip 1 : study data structures thoroughly
Tip 2 : study algorithms thoroughly

Application process
Where: Campus
Eligibility: Above 7 CGPA
Resume Tip
Resume tip

Tip 1 : have good projects in resume
Tip 2 : make complete resume in one page. Basically keep it short. So that it helps to go through easily

Interview rounds

01
Round
Medium
Online Coding Interview
Duration180 Minutes
Interview date8 Jan 2022
Coding problem2

It was early morning online test on mettle platform

1. Swap Kth Elements

Easy
15m average time
85% success
0/40
Asked in companies
Livekeeping (An IndiaMART Company)Morgan StanleyAirtel

Given an array ‘ARR’ of size ‘N,’ swap the Kth element from beginning with the Kth element from the end.

For example:
If ‘N’ = 5 and K = 2
[1, 2, 3, 4, 5]

Then the output will be [1, 4, 3, 2, 5].
Problem approach

1. Created a function 
2. Used for loops
3. Optimization

Try solving now

2. Count derangements

Moderate
35m average time
60% success
0/80
Asked in companies
AmazonInfo Edge India (Naukri.com)OLX Group

A Derangement is a permutation of ‘N’ elements, such that no element appears in its original position. For example, an instance of derangement of {0, 1, 2, 3} is {2, 3, 1, 0}, because 2 present at index 0 is not at its initial position which is 2 and similarly for other elements of the sequence.

Given a number ‘N’, find the total number of derangements possible of a set of 'N’ elements.

Note:
The answer could be very large, output answer %(10 ^ 9 + 7).
Problem approach

1. Using recursion
2. Created recursion function
3. Optimization

Try solving now
02
Round
Medium
Video Call
Duration60 minutes
Interview date10 Jan 2022
Coding problem2

It was in afternoon. For 1 hour. It was on Google meet. Interview was cool.

1. Second largest element in the array

Easy
15m average time
80% success
0/40
Asked in companies
AdobeSamsungIBM

You have been given an array/list 'ARR' of integers. Your task is to find the second largest element present in the 'ARR'.

Note:
a) Duplicate elements may be present.

b) If no such element is present return -1.
Example:
Input: Given a sequence of five numbers 2, 4, 5, 6, 8.

Output:  6

Explanation:
In the given sequence of numbers, number 8 is the largest element, followed by number 6 which is the second-largest element. Hence we return number 6 which is the second-largest element in the sequence.
Problem approach

1. Created an array
2. Find second largest element
3. Optimization

Try solving now

2. DBMS Question

What is normalization

Problem approach

Tip 1 : read rdbms thoroughly
Tip 2 : read korth book

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
CSD
2 rounds | 3 problems
Interviewed by Nagarro Software
1380 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