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

SDE - Intern

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

Interview preparation journey

expand-icon
Preparation
Duration: 3 Months
Topics: Dynamic Programming, Strings, Trees, Greedy, Recursion
Tip
Tip

Tip 1 : Give stress on the quality of questions rather than quantity (more of the medium than easy)
Tip 2 : Try to make meaningful variable names while doing questions otherwise you'll forget to do so in an actual interview
Tip 3 : Work on basics of core subjects like DBMS, OS if you are from CS/IT Networking is not asked much in my opinion

Application process
Where: Campus
Eligibility: Above 6 CGPA, No backlogs
Resume Tip
Resume tip

Tip 1 : Try to present projects that you know completely in and out
Tip 2 : Make sure to pass your resume through an online ATS before submitting

Interview rounds

01
Round
Easy
Online Coding Interview
Duration90 Minutes
Interview date15 Mar 2022
Coding problem2

It was an online proctored coding test just like you have given on any platform with two question to be solved in 90 mins

1. Best Time to Buy and Sell Stock II

Moderate
22m average time
0/80
Asked in companies
Goldman SachsPhonePeLinkedIn

You have been given stock values/prices for N number of days. Every i-th day signifies the price of a stock on that day. Your task is to find the maximum profit which you can make by buying and selling the stocks.

 Note :
You may make as many transactions as you want but can not have more than one transaction at a time i.e, if you have the stock, you need to sell it first, and then only you can buy it again.
Problem approach

Step 1: I created three variables for storing least price so far,overall profit and profit if sold today
Step 2: For every price in the array I checked if its less than least price so far
Step 3: Calculated the profit if sold today
Step 4: Compared it with overall profits
Step 5: Returned the overall profit after traversal was complete.

Try solving now

2. Longest Substring Without Repeating Characters

Moderate
30m average time
65% success
0/80
Asked in companies
AdobeInformaticaIntuit

Given a string input of length n, find the length of the longest substring without repeating characters i.e return a substring that does not have any repeating characters.

Substring is the continuous sub-part of the string formed by removing zero or more characters from both ends.

Problem approach

the basic idea is, keep a hashmap which stores the characters in string as keys and their positions as values, and keep two pointers which define the max substring. move the right pointer to scan through the string , and meanwhile update the hashmap. If the character is already in the hashmap, then move the left pointer to the right of the same character last found. Note that the two pointers can only move forward.

Try solving now
02
Round
Easy
Face to Face
Duration40 Minutes
Interview date21 Mar 2022
Coding problem1

This round included discussion of my previous internships and resume projects

1. Reverse Integer

Easy
20m average time
80% success
0/40
Asked in companies
AppleAdobeFreshworks

You are given a 32-bit signed integer ‘N’. So, the integer will lie in the range [-2^31, 2^31 - 1]. Your task is to return the reverse of the given integer. If reversing causes overflow, then return -1.

Note:

(1) Do not use data types with the capacity of more than 32-bit like ‘long int’ or ‘long long int’ in C++. The problem is meant to reverse the integer using a 32-bit data type only.

(2) You should assume that the environment does not allow storing signed or unsigned 64-bit integers.
Problem approach

Step 1: I used the modulo operation to get the last digit of the number 
Step 2: I stored it in a string 
Step 3: When all digits are traversed I converted the string to array

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
1005 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
1 rounds | 3 problems
Interviewed by Nagarro Software
916 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
10215 views
2 comments
0 upvotes