Upload Button Icon Add office photos
Engaged Employer

i

This company page is being actively managed by Nagarro Team. If you also belong to the team, you can get access from here

Nagarro Verified Tick

Compare button icon Compare button icon Compare

Filter interviews by

Nagarro Software Developer Intern Interview Questions and Answers

Updated 25 Oct 2023

11 Interview questions

A Software Developer Intern was asked
Q. 

Word Break Problem Statement

You are given a list of N strings called A. Your task is to determine whether you can form a given target string by combining one or more strings from A.

The strings from A ca...

Ans. 

Given a list of strings, determine if a target string can be formed by combining one or more strings from the list.

  • Iterate through all possible combinations of strings from the list to check if they can form the target string.

  • Use recursion to try different combinations of strings.

  • Keep track of the current position in the target string and the strings used so far.

  • Return true if the target string can be formed, fals...

A Software Developer Intern was asked
Q. 

Sort 0 and 1 Problem Statement

Given an integer array ARR of size N containing only integers 0 and 1, implement a function to sort this array. The solution should scan the array only once without using any...

Ans. 

Sort an array of 0s and 1s in linear time without using additional arrays.

  • Use two pointers approach to swap 0s to the left and 1s to the right.

  • Maintain two pointers, one for 0s and one for 1s, and iterate through the array.

  • Swap elements at the two pointers based on the values encountered.

  • Continue until the two pointers meet in the middle of the array.

Software Developer Intern Interview Questions Asked at Other Companies

Q1. Sum of Maximum and Minimum Elements Problem Statement Given an ar ... read more
asked in Amazon
Q2. Fish Eater Problem Statement In a river where water flows from le ... read more
asked in Apple
Q3. Kevin and his Fruits Problem Statement Kevin has 'N' buckets, eac ... read more
asked in CommVault
Q4. Sliding Maximum Problem Statement Given an array of integers ARR ... read more
Q5. Reverse Words in a String: Problem Statement You are given a stri ... read more
A Software Developer Intern was asked
Q. 

Check If Binary Representation of a Number is Palindrome

Given an integer N, determine if its binary representation is a palindrome.

Input:

The first line contains a single integer ‘T’ representing the n...
Ans. 

Check if the binary representation of a number is a palindrome.

  • Convert the integer to binary representation.

  • Check if the binary representation is a palindrome by comparing it with its reverse.

  • Return true if it is a palindrome, false otherwise.

A Software Developer Intern was asked
Q. 

Count Pairs with Given Sum

Given an integer array/list arr and an integer 'Sum', determine the total number of unique pairs in the array whose elements sum up to the given 'Sum'.

Input:

The first line co...
Ans. 

Count the total number of unique pairs in an array whose elements sum up to a given value.

  • Use a hashmap to store the frequency of each element in the array.

  • Iterate through the array and for each element, check if (Sum - current element) exists in the hashmap.

  • Increment the count of pairs if the complement exists in the hashmap.

  • Divide the count by 2 to avoid counting duplicates (arr[i], arr[j]) and (arr[j], arr[i]) ...

What people are saying about Nagarro

View All
auraak
Verified Icon
1w
works at
TCS
Nagarro
If I hired for particularly for data science projects but due to some mismatch the manager said me to move to support work not in the field of data science. So how many projects we didn't accept in nagarro??
Got a question about Nagarro?
Ask anonymously on communities.
🔥 Asked by recruiter 2 times
A Software Developer Intern was asked
Q. 

Prime Numbers Identification

Given a positive integer N, your task is to identify all prime numbers less than or equal to N.

Explanation:

A prime number is a natural number greater than 1 that has no pos...

Ans. 

Identify all prime numbers less than or equal to a given positive integer N.

  • Iterate from 2 to N and check if each number is prime

  • Use the Sieve of Eratosthenes algorithm for efficient prime number identification

  • Optimize by only checking up to the square root of N for divisors

🔥 Asked by recruiter 3 times
A Software Developer Intern was asked
Q. 

Maximum Subarray Sum Problem Statement

Given an array arr of length N consisting of integers, find the sum of the subarray (including empty subarray) with the maximum sum among all subarrays.

Explanation:

...
Ans. 

Find the sum of the subarray with the maximum sum among all subarrays in an array of integers.

  • Use Kadane's algorithm to find the maximum subarray sum efficiently.

  • Initialize two variables, one for current sum and one for maximum sum.

  • Iterate through the array and update the current sum and maximum sum accordingly.

  • Return the maximum sum as the result.

🔥 Asked by recruiter 2 times
A Software Developer Intern was asked
Q. 

Height of Binary Tree

You are provided with the Inorder and Level Order traversals of a Binary Tree composed of integers. Your goal is to determine the height of this Binary Tree without actually construct...

Ans. 

Calculate the height of a Binary Tree given its Inorder and Level Order traversals without constructing it.

  • Use the properties of Inorder and Level Order traversals to determine the height of the Binary Tree.

  • The height of a Binary Tree is the number of edges on the longest path from the root to a leaf node.

  • Consider edge cases like a single node tree or empty tree when calculating the height.

Are these interview questions helpful?
A Software Developer Intern was asked
Q. 

String Rotation Problem Statement

You are given a string named str and an integer D. Your task is to perform both left (anticlockwise) and right (clockwise) rotations on the given string by D units, starti...

Ans. 

Implement left and right string rotations by D units on a given string.

  • Implement leftRotate() function to return string after left rotation by D units.

  • Implement rightRotate() function to return string after right rotation by D units.

  • Consider handling edge cases like empty string or D exceeding string length.

  • Example: For input 'coding', D=2, leftRotate() should return 'dingco' and rightRotate() should return 'ngcod...

🔥 Asked by recruiter 2 times
A Software Developer Intern was asked
Q. 

Common Elements Problem Statement

Identify and output the common strings present in both given arrays of lowercase alphabets for each test case.

Input:

The first line contains an integer 'T' representing...
Ans. 

The task is to find and output the common strings present in both given arrays of lowercase alphabets for each test case.

  • Iterate through the elements of the second array and check if they are present in the first array.

  • Use a hash set or map to efficiently check for common elements.

  • Return the common strings in the order they appear in the second array.

A Software Developer Intern was asked
Q. 

Median of Two Sorted Arrays

Given two sorted arrays A and B of sizes N and M, find the median of the merged array formed by combining arrays A and B. If the total number of elements, N + M, is even, the me...

Ans. 

Find the median of two sorted arrays by merging them and calculating the middle element(s).

  • Merge the two sorted arrays into one sorted array.

  • Calculate the median based on the total number of elements in the merged array.

  • If the total number of elements is even, take the mean of the two middle elements as the median.

Nagarro Software Developer Intern Interview Experiences

6 interviews found

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Don’t add your photo or details such as gender, age, and address in your resume. These details do not add any value.
View all tips
Round 2 - Coding Test 

DSA questions of array and strings

Round 3 - Technical 

(1 Question)

  • Q1. DSA on array advanced topics

Interview Preparation Tips

Interview preparation tips for other job seekers - DSA is must

I appeared for an interview in Dec 2021.

Round 1 - Coding Test 

(2 Questions)

Round duration - 90 minutes
Round difficulty - Medium

This round contains 40 mcq questions 15 dsa and 25 aptitude.
then there was 5 coding questions.

  • Q1. 

    Check If Binary Representation of a Number is Palindrome

    Given an integer N, determine if its binary representation is a palindrome.

    Input:

    The first line contains a single integer ‘T’ representing the ...
  • Ans. 

    Check if the binary representation of a number is a palindrome.

    • Convert the integer to binary representation.

    • Check if the binary representation is a palindrome by comparing it with its reverse.

    • Return true if it is a palindrome, false otherwise.

  • Answered by AI
  • Q2. 

    Word Break Problem Statement

    You are given a list of N strings called A. Your task is to determine whether you can form a given target string by combining one or more strings from A.

    The strings from A c...

  • Ans. 

    Given a list of strings, determine if a target string can be formed by combining one or more strings from the list.

    • Iterate through all possible combinations of strings from the list to check if they can form the target string.

    • Use recursion to try different combinations of strings.

    • Keep track of the current position in the target string and the strings used so far.

    • Return true if the target string can be formed, false oth...

  • Answered by AI
Round 2 - Video Call 

(1 Question)

Round duration - 25 minutes
Round difficulty - Easy

Technical Round

  • Q1. 

    Sort 0 and 1 Problem Statement

    Given an integer array ARR of size N containing only integers 0 and 1, implement a function to sort this array. The solution should scan the array only once without using an...

  • Ans. 

    Sort an array of 0s and 1s in linear time without using additional arrays.

    • Use two pointers approach to swap 0s to the left and 1s to the right.

    • Maintain two pointers, one for 0s and one for 1s, and iterate through the array.

    • Swap elements at the two pointers based on the values encountered.

    • Continue until the two pointers meet in the middle of the array.

  • Answered by AI

Interview Preparation Tips

Professional and academic backgroundI completed Computer Science Engineering from Panjab University. I applied for the job as SDE - Intern in GurgaonEligibility criteriaAbove 7 CGPANagarro interview preparation:Topics to prepare for the interview - Data Structures, OOPS, Web Development, Strings, Bit MappingTime required to prepare for the interview - 3 monthsInterview preparation tips for other job seekers

Tip 1 : Practice well basics of dsa
Tip 2 : Have a good grip of core cs
Tip 3 : have good projects on resume

Application resume tips for other job seekers

Tip 1 : Don't put anything which you are not comfortable to speak
Tip 2 : make it short and crisp

Final outcome of the interviewSelected

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
Easy
Process Duration
2-4 weeks
Result
Selected Selected

I applied via Campus Placement and was interviewed before Oct 2022. There were 5 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Aptitude Test 

Normal MCQ style questions involving basic concepts

Round 3 - Coding Test 

2 coding questions: 1st one average, 2nd one slightly better than average.

Round 4 - Technical 

(1 Question)

  • Q1. Conceptual questions involving linked list, sorting, and various other general topics.
Round 5 - HR 

(2 Questions)

  • Q1. Your introduction
  • Q2. Normal conversation about various random topics (HR was trying to check my communication ability)

I appeared for an interview in Dec 2020.

Round 1 - Video Call 

(2 Questions)

Round duration - 30 Minutes
Round difficulty - Easy

he interviews were conducted simultaneously for all on BlueJeans along with a code sharing website. After the initial set up and introduction, a set of 2 questions from DSA were asked from all candidates. The results were announced the same day.

  • Q1. 

    DFS Traversal Problem Statement

    Given an undirected and disconnected graph G(V, E), where V is the number of vertices and E is the number of edges, the connections between vertices are provided in the 'GR...

  • Ans. 

    DFS traversal to find connected components in an undirected and disconnected graph.

    • Use Depth First Search (DFS) algorithm to traverse the graph and find connected components.

    • Maintain a visited array to keep track of visited vertices.

    • For each unvisited vertex, perform DFS to explore all connected vertices and form a connected component.

  • Answered by AI
  • Q2. 

    Median of Two Sorted Arrays

    Given two sorted arrays A and B of sizes N and M, find the median of the merged array formed by combining arrays A and B. If the total number of elements, N + M, is even, the m...

  • Ans. 

    Find the median of two sorted arrays by merging them and calculating the middle element(s).

    • Merge the two sorted arrays into one sorted array.

    • Calculate the median based on the total number of elements in the merged array.

    • If the total number of elements is even, take the mean of the two middle elements as the median.

  • Answered by AI

Interview Preparation Tips

Eligibility criteriaNo criteriaNagarro interview preparation:Topics to prepare for the interview - Data Structures, Pointers, OOPS, Algorithms, Dynamic Programming, DBMSTime required to prepare for the interview - 7 monthsInterview preparation tips for other job seekers

Tip 1 : Don't forget to revise OOPS, OS, DBMS too.
Tip 2 : During the interview, one thing that is asked for sure is the time complexity of your solution, so always know the complexity of your algorithms.
Tip 3 : Try out mock interviews with friends, that's the best thing you can do for yourself other than practicing
questions

Application resume tips for other job seekers

Tip 1 : Make sure that there are no formatting errors
Tip 2 : Have your projects clearly mentioned and well explained

Final outcome of the interviewSelected

Skills evaluated in this interview

I appeared for an interview in Oct 2020.

Round 1 - Coding Test 

(3 Questions)

Round duration - 120 mintues
Round difficulty - Medium

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.

  • Q1. 

    String Rotation Problem Statement

    You are given a string named str and an integer D. Your task is to perform both left (anticlockwise) and right (clockwise) rotations on the given string by D units, start...

  • Ans. 

    Implement left and right string rotations by D units on a given string.

    • Implement leftRotate() function to return string after left rotation by D units.

    • Implement rightRotate() function to return string after right rotation by D units.

    • Consider handling edge cases like empty string or D exceeding string length.

    • Example: For input 'coding', D=2, leftRotate() should return 'dingco' and rightRotate() should return 'ngcodi'.

  • Answered by AI
  • Q2. 

    Height of Binary Tree

    You are provided with the Inorder and Level Order traversals of a Binary Tree composed of integers. Your goal is to determine the height of this Binary Tree without actually construc...

  • Ans. 

    Calculate the height of a Binary Tree given its Inorder and Level Order traversals without constructing it.

    • Use the properties of Inorder and Level Order traversals to determine the height of the Binary Tree.

    • The height of a Binary Tree is the number of edges on the longest path from the root to a leaf node.

    • Consider edge cases like a single node tree or empty tree when calculating the height.

  • Answered by AI
  • Q3. 

    Common Elements Problem Statement

    Identify and output the common strings present in both given arrays of lowercase alphabets for each test case.

    Input:

    The first line contains an integer 'T' representin...
  • Ans. 

    The task is to find and output the common strings present in both given arrays of lowercase alphabets for each test case.

    • Iterate through the elements of the second array and check if they are present in the first array.

    • Use a hash set or map to efficiently check for common elements.

    • Return the common strings in the order they appear in the second array.

  • Answered by AI
Round 2 - Video Call 

(1 Question)

Round duration - 40 minutes
Round difficulty - Medium

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.

  • Q1. 

    Maximum Subarray Sum Problem Statement

    Given an array arr of length N consisting of integers, find the sum of the subarray (including empty subarray) with the maximum sum among all subarrays.

    Explanation...

  • Ans. 

    Find the sum of the subarray with the maximum sum among all subarrays in an array of integers.

    • Use Kadane's algorithm to find the maximum subarray sum efficiently.

    • Initialize two variables, one for current sum and one for maximum sum.

    • Iterate through the array and update the current sum and maximum sum accordingly.

    • Return the maximum sum as the result.

  • Answered by AI
Round 3 - HR 

Round duration - 30 minutes
Round difficulty - Medium

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

Interview Preparation Tips

Professional and academic backgroundI applied for the job as SDE - Intern in GurgaonEligibility criteria6 CGPANagarro interview preparation:Topics to prepare for the interview - Data Structures, Algorithms, OOPS, Computer Networks, DBMS, SQL, OS, PythonTime required to prepare for the interview - 6 monthsInterview preparation tips for other job seekers

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 resume tips for other job seekers

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.

Final outcome of the interviewSelected

Skills evaluated in this interview

I appeared for an interview in Sep 2020.

Round 1 - Coding Test 

(1 Question)

Round duration - One hour aptitude,1.5 hour coding
Round difficulty - Medium

First round was of aptitude that was easy and second round was of coding which had medium level questions.

  • Q1. 

    Prime Numbers Identification

    Given a positive integer N, your task is to identify all prime numbers less than or equal to N.

    Explanation:

    A prime number is a natural number greater than 1 that has no po...

  • Ans. 

    Identify all prime numbers less than or equal to a given positive integer N.

    • Iterate from 2 to N and check if each number is prime

    • Use the Sieve of Eratosthenes algorithm for efficient prime number identification

    • Optimize by only checking up to the square root of N for divisors

  • Answered by AI
Round 2 - Video Call 

(1 Question)

Round duration - 20 minutes
Round difficulty - Medium

First I was asked about my projects and then 2 questions on array were given.

  • Q1. 

    Count Pairs with Given Sum

    Given an integer array/list arr and an integer 'Sum', determine the total number of unique pairs in the array whose elements sum up to the given 'Sum'.

    Input:

    The first line c...
  • Ans. 

    Count the total number of unique pairs in an array whose elements sum up to a given value.

    • Use a hashmap to store the frequency of each element in the array.

    • Iterate through the array and for each element, check if (Sum - current element) exists in the hashmap.

    • Increment the count of pairs if the complement exists in the hashmap.

    • Divide the count by 2 to avoid counting duplicates (arr[i], arr[j]) and (arr[j], arr[i]) separ...

  • Answered by AI

Interview Preparation Tips

Professional and academic backgroundI completed Computer Science Engineering from Guru Nanak Dev University. Eligibility criteriaNoNagarro interview preparation:Topics to prepare for the interview - Data structures,machine learning,deep learning,oops , dbmsTime required to prepare for the interview - 2-3 monthsInterview preparation tips for other job seekers

Tip 1 : Data structures should be on your tips.
Tip 2 : Learn how to make logic.
Tip 3 : Be confident while giving the interview.

Application resume tips for other job seekers

Tip 1 : Add projects with description.
Tip 2 : Be true to yourself in resume.

Final outcome of the interviewSelected

Skills evaluated in this interview

Interview questions from similar companies

Interview Questionnaire 

5 Questions

  • Q1. Oops,program on oops concepts,collection related examples. Hibernate and spring related questions
  • Q2. Logical programs String related
  • Q3. Managerial round Most of the questions asked on java, jQuery, java script and hibernate
  • Q4. Spring annotations Discussion on previous project
  • Q5. Introduction Skills related Salary discussion
Are these interview questions helpful?

Interview Questionnaire 

1 Question

  • Q1. Core java

I appeared for an interview before Jun 2021.

Round 1 - Coding Test 

Had DSA and aptitude questions

Round 2 - Technical 

(1 Question)

  • Q1. DSA a questions, Database Questions
Round 3 - HR 

(1 Question)

  • Q1. 5 min question and answers about company

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare DSA and database management

I applied via Naukri.com and was interviewed in Mar 2021. There were 5 interview rounds.

Interview Questionnaire 

2 Questions

  • Q1. What is web wrapping
  • Ans. 

    Web wrapping is the process of displaying a website within another website or application.

    • It involves embedding a website within an iframe or a div element.

    • Web wrapping is commonly used in mobile apps to display web content without leaving the app.

    • It can also be used to display content from a different domain on a website.

    • Web wrapping can be done using JavaScript or server-side scripting languages.

    • Examples of web wrapp...

  • Answered by AI
  • Q2. Vba effects
  • Ans. 

    VBA effects on software development

    • VBA can automate repetitive tasks in software development

    • VBA can be used to create custom functions and add-ins in Excel

    • VBA can interact with other Microsoft Office applications

    • VBA can be used to create user interfaces for data entry and analysis

    • VBA can be used to manipulate data in databases

    • VBA can be used to create macros in software applications

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Be polite and listen carefully all the questions then answer

Skills evaluated in this interview

Nagarro Interview FAQs

How many rounds are there in Nagarro Software Developer Intern interview?
Nagarro interview process usually has 4 rounds. The most common rounds in the Nagarro interview process are Resume Shortlist, Coding Test and Technical.
What are the top questions asked in Nagarro Software Developer Intern interview?

Some of the top questions asked at the Nagarro Software Developer Intern interview -

  1. Conceptual questions involving linked list, sorting, and various other general ...read more
  2. DSA on array advanced top...read more

Tell us how to improve this page.

Overall Interview Experience Rating

4/5

based on 2 interview experiences

Difficulty level

Easy 100%

Duration

2-4 weeks 100%
View more

Interview Questions from Similar Companies

Genpact Interview Questions
3.8
 • 3.4k Interviews
DXC Technology Interview Questions
3.7
 • 837 Interviews
NTT Data Interview Questions
3.8
 • 658 Interviews
Publicis Sapient Interview Questions
3.5
 • 643 Interviews
GlobalLogic Interview Questions
3.6
 • 627 Interviews
EPAM Systems Interview Questions
3.7
 • 569 Interviews
UST Interview Questions
3.8
 • 543 Interviews
View all

Nagarro Software Developer Intern Reviews and Ratings

based on 2 reviews

3.0/5

Rating in categories

3.0

Skill development

4.0

Work-life balance

3.0

Salary

2.5

Job security

3.5

Company culture

3.0

Promotions

2.5

Work satisfaction

Explore 2 Reviews and Ratings
Staff Engineer
3.3k salaries
unlock blur

₹22.5 L/yr - ₹38 L/yr

Associate Staff Engineer
3.3k salaries
unlock blur

₹17 L/yr - ₹31 L/yr

Senior Engineer
2.5k salaries
unlock blur

₹6.3 L/yr - ₹19.9 L/yr

Senior Software Engineer
1.3k salaries
unlock blur

₹8.1 L/yr - ₹29.5 L/yr

Software Engineer
1.1k salaries
unlock blur

₹4.9 L/yr - ₹12.3 L/yr

Explore more salaries
Compare Nagarro with

Deloitte

3.7
Compare

Cognizant

3.7
Compare

TCS

3.6
Compare

Accenture

3.7
Compare
write
Share an Interview