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

SDE - Intern

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

Interview preparation journey

expand-icon
Preparation
Duration: 2-3
Topics: DSA, ADA, OOPS, Aptitude, DP, Graphs, Trees
Tip
Tip

Tip 1 : Practice as many questions as you can and try to have a daily target met while preparing
Tip 2 : Try to make some projects in any development technology of your liking. Mainly Web, App
Tip 3 : Try to gather ample knowledge in ML, python, Cloud and such related topics of interests

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

Tip 1 : Have some projects on your resume about which you have thorough knowledge off
Tip 2 : Do not lie about anything on your resume 
Tip 3 : Try not to put irrelevant information in your resume

Interview rounds

01
Round
Medium
Online Coding Interview
Duration90 Minutes
Interview date17 Mar 2022
Coding problem1

1. Sort 0 1 2

Easy
22m average time
0/40
Asked in companies
Expedia GroupWalmartHCL Technologies

You have been given an integer array/list(ARR) of size 'N'. It only contains 0s, 1s and 2s. Write a solution to sort this array/list.

Note :
Try to solve the problem in 'Single Scan'. ' Single Scan' refers to iterating over the array/list just once or to put it in other words, you will be visiting each element in the array/list just once.
Try solving now
02
Round
Medium
Online Coding Test
Duration60 Minutes
Interview date17 Mar 2022
Coding problem3

There were 2 questions in this round both of them were coding questions

1. Maximum subarray

Moderate
55m average time
35% success
0/80
Asked in companies
AmazonFacebookOLX Group

Ninjas has been given an array. He wants to find a subarray such that the sum of all elements in the subarray is maximum.

Subarray 'A' is greater than sub-array 'B' if sum(A) > sum(B). If two sub-array have the same maximum sum, then output the subarray that has a larger length.

A subarray means a contiguous part of an array. For example, In 'arr' = [1, 2, 3, 4], [1, 2], [2, 3, 4] are the contiguous subarry but [1, 3, 4] is not a subarray.

Note:

More than one sub-array can have a maximum sum, in that case, output any.
Problem approach

I had already seen and solved this problem so it was easy for me to solve this problem
I used kadane's algorithm for solving this as it is a very good approach to solve this problem

Try solving now

2. N Queens

Hard
55m average time
35% success
0/120
Asked in companies
AmazonAdobeIntuit

You are given an integer 'N'. For a given 'N' x 'N' chessboard, find a way to place 'N' queens such that no queen can attack any other queen on the chessboard.

A queen can be killed when it lies in the same row, or same column, or the same diagonal of any of the other queens. You have to print all such configurations.

Problem approach

I used the recursion abcktracking approach to solve this question.

Try solving now

3. Reverse Linked List

Moderate
15m average time
85% success
0/80
Asked in companies
WalmartHCL TechnologiesInfo Edge India (Naukri.com)

Given a singly linked list of integers. Your task is to return the head of the reversed linked list.

For example:
The given linked list is 1 -> 2 -> 3 -> 4-> NULL. Then the reverse linked list is 4 -> 3 -> 2 -> 1 -> NULL and the head of the reversed linked list will be 4.
Follow Up :
Can you solve this problem in O(N) time and O(1) space complexity?
Problem approach

I used 3 pointers cur, prev, and fwd for solving this question. 
while (cur!= null){
I changed the next of cur to prev and changed prev to cur and cur to fwd.
}

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 - Intern
2 rounds | 4 problems
Interviewed by Nagarro Software
1007 views
1 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 4 problems
Interviewed by Nagarro Software
1006 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
869 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Amazon
15605 views
4 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 7 problems
Interviewed by Microsoft
15499 views
1 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Amazon
10216 views
2 comments
0 upvotes