i
Nagarro
Filter interviews by
I appeared for an interview in Sep 2021.
Round duration - 180 Minutes
Round difficulty - Medium
Given the schedule of N meetings with their start time Start[i]
and end time End[i]
, you need to determine which meetings can be organized in a single meeting room such ...
Given N meetings with start and end times, find the maximum number of meetings that can be organized in a single room without overlap.
Sort the meetings based on their end times.
Iterate through the sorted meetings and select the next meeting that does not overlap with the current meeting.
Keep track of the selected meetings and return their indices in the order they are organized.
Determine whether it is possible to partition an array ARR
into K
subsets, each having an equal sum.
ARR = [3, 5, 2, 4, 4], K = 2
tr...
Yes, it is possible to partition an array into K subsets with equal sum.
Check if the total sum of the array is divisible by K.
Use backtracking to try all possible combinations of subsets.
Keep track of visited elements to avoid repetition.
Example: ARR = [3, 5, 2, 4, 4], K = 2. Possible subsets: [4, 5] and [2, 3, 4].
You are provided with 'K' sorted linked lists, each sorted in increasing order. Your task is to merge all these lists into one single sorted linked list and return the head of ...
Merge k sorted linked lists into one single sorted linked list.
Create a min-heap to store the heads of all k linked lists.
Pop the smallest element from the heap and add it to the result list.
If the popped element has a next element, push it back to the heap.
Repeat until the heap is empty and return the merged sorted list.
You are given a doubly linked list with 'N' nodes, where each node can deviate at most 'K' positions from its actual position in the sorted list. You...
Sort a doubly linked list with nodes that can deviate at most K positions from their actual position in the sorted list.
Iterate through the doubly linked list and maintain a window of size K+1 to sort the elements within the window.
Use insertion sort within the window to sort the elements efficiently.
Repeat the process until the entire list is sorted.
Time complexity can be optimized to O(N*log(K)) using a priority queu
Given a binary tree, return the root values of all duplicate subtrees. Two subtrees are considered duplicate if they have the same structure with identical node values...
Find root values of duplicate subtrees in a binary tree.
Traverse the tree in a bottom-up manner to identify duplicate subtrees.
Use a hashmap to store the subtree structure and count occurrences.
Return the root values of duplicate subtrees found.
Handle null nodes by using -1 in the input sequence.
Round duration - 25 Minutes
Round difficulty - Medium
Keys in database management systems are unique identifiers for rows in a table.
Keys are used to uniquely identify each record in a table.
Primary key is a unique identifier for a record in a table.
Foreign key is a field in one table that refers to the primary key in another table.
Composite key is a combination of multiple columns that uniquely identify a record.
Unique key ensures that all values in a column are unique.
Round duration - 15 Minutes
Round difficulty - Easy
Tip 1 : Practice data structures vigorously
Tip 2 : Do at least 3 projects
Tip 3 : Practice Atleast 250 Questions
Tip 1 : Have some projects on resume.
Tip 2 : Do not put false things on resume
I appeared for an interview in Aug 2021.
Round duration - 180 minutes
Round difficulty - Medium
It was a long round of around 3 hours divided into 2 parts
1. Aptitude(MCQ)
2. Coding(Subjective)
You are tasked with scheduling meetings in a single meeting room. Given N
meetings, each with a start time Start[i]
and end time End[i]
, determine the maximum number of meetings...
Given start and end times of meetings, find the maximum number of meetings that can be scheduled in a single room.
Sort the meetings based on their end times in ascending order.
Iterate through the sorted meetings and select the ones that do not overlap with the previously selected meetings.
Keep track of the selected meetings and return their indices.
Given an array of integers and a positive integer 'K', determine if it is possible to divide the array into 'K' non-empty subsets such that the sum of elements in ...
The problem involves dividing an array into K subsets with equal sum.
Use backtracking to try all possible combinations of subsets.
Keep track of the sum of elements in each subset and check if they are equal to the target sum.
Optimize by sorting the array in descending order and assigning elements to subsets greedily.
Handle edge cases like when the sum of elements is not divisible by K.
You are provided with 'K' sorted linked lists, each sorted in increasing order. Your task is to merge all these lists into one single sorted linked list and return the head of ...
Merge k sorted linked lists into one single sorted linked list.
Create a min-heap to store the heads of all linked lists.
Pop the smallest element from the heap and add it to the result list.
If the popped element has a next element, push it back to the heap.
Repeat until all elements are merged into a single sorted list.
Given a doubly-linked list with N
nodes, where each node’s position deviates at most K
positions from its position in the sorted list, your task is to sort this given ...
Sort a doubly linked list where each node's position deviates at most K positions from its position in the sorted list.
Iterate through the doubly linked list and maintain a min-heap of size K+1 to keep track of the next smallest element.
Remove the smallest element from the heap and add it to the sorted list. Update the heap with the next element from the removed node's next position.
Continue this process until all node
Given a binary tree, return the root values of all duplicate subtrees. Two subtrees are considered duplicate if they have the same structure with identical node values...
Find root values of duplicate subtrees in a binary tree.
Traverse the tree in a bottom-up manner to identify duplicate subtrees.
Use a hashmap to store the subtree structures and their frequencies.
Return the root values of duplicate subtrees based on hashmap entries.
Round duration - 25 minutes
Round difficulty - Medium
The technical Interview round was not at all difficult. The main focus of the interviewer was my projects and development fields.
He also asked some DS/Algo questions that were at a medium level, and some easy questions for database management.
Keys in database management systems are unique identifiers for rows in a table.
Keys ensure data integrity by enforcing uniqueness and relationships between tables.
Primary key uniquely identifies each record in a table (e.g. employee ID).
Foreign key establishes a link between two tables by referencing the primary key of another table.
Round duration - 15 minutes
Round difficulty - Easy
It took place on the same day as the technical round. It was quite the easiest round of all. The interviewer just asked me to introduce myself, projects I have worked on, my Internships experience, and were they internships paid.
Tip 1 : Do at least 2-3 Development Projects as it creates a great impression.
Tip 2 : Do it simply don't include complex terms to explain anything/concept.
Tip 3 : Practice as many questions as you can.
Tip 1 : Resume should be one page only as being a fresher impact a lot.
Tip 2 : Resumes should contain all the links for projects and certificates as it impresses the interviewer.
I applied via Campus Placement and was interviewed before Mar 2023. There were 4 interview rounds.
90 mints, reasoning , logical thinking, aptitude
60mints c, c++, python, java
What people are saying about Nagarro
I applied via Company Website and was interviewed before Oct 2022. There were 5 interview rounds.
60 min in 50 questions
90 mintues in 3 coding average level question
Nagarro interview questions for popular designations
I applied via Approached by Company and was interviewed before Feb 2023. There were 3 interview rounds.
Basics of logical reasoning, maths and english
2 case studies based on rfp and written deliverable
Prioritize based on impact, urgency, and dependencies
Assess impact of each story on overall project goals
Consider urgency and deadlines associated with each story
Evaluate dependencies between stories and prioritize those that unlock others
Collaborate with stakeholders to understand their reasoning and negotiate priorities
Use techniques like MoSCoW method or Value vs Effort matrix to prioritize effectively
Get interview-ready with Top Nagarro Interview Questions
I applied via Recruitment Consulltant and was interviewed in Nov 2021. There were 4 interview rounds.
Normal aptitude test
I applied via Campus Placement and was interviewed before Oct 2022. There were 5 interview rounds.
Normal MCQ style questions involving basic concepts
2 coding questions: 1st one average, 2nd one slightly better than average.
I applied via Campus Placement and was interviewed before Jun 2022. There were 5 interview rounds.
Some apti + techical mcqs easily available on internet
5 coding ques were there those who completed 3 fully correct were selected.
Removing a node from a linked list without head or tail pointer
Use the node to be removed's next node to copy its data and then delete the next node
Update the current node's next pointer to skip the next node
Remove the nth element from an array of strings
Use the splice method to remove the element at the specified index
Remember that array indices start at 0
Example: array.splice(n, 1) will remove the element at index n
Quick sort has O(n log n) time complexity on average, O(n^2) worst case. Merge sort has O(n log n) time complexity always.
Quick sort has an average time complexity of O(n log n) due to its divide-and-conquer approach.
Worst case for quick sort occurs when the pivot element is either the smallest or largest element in the array, leading to O(n^2) time complexity.
Merge sort always has a time complexity of O(n log n) due t...
My favorite programming language is Python because of its simplicity, readability, and versatility.
Python is known for its clean and readable syntax, making it easy to learn and understand.
Python has a large standard library and many third-party libraries, allowing for rapid development of a wide range of applications.
Python is versatile and can be used for web development, data analysis, machine learning, automation,
I appeared for an interview in Jul 2021.
Round duration - 60 minutes
Round difficulty - Medium
2 coding questions
Afternoon test
Proctored
Find the number of trailing zeroes in the factorial of a given number N
.
The first line contains an integer T
representing the number of test cases.
Each of the...
Count the number of trailing zeros in the factorial of a given number.
To find the number of trailing zeros in N!, count the number of factors of 5 in the prime factorization of N.
Each factor of 5 contributes to a trailing zero in the factorial.
For example, for N=10, there are 2 factors of 5 in the prime factorization (5 and 10), so there are 2 trailing zeros.
You are given a number of stairs, N
. Starting at the 0th stair, you need to reach the Nth stair. Each time you can either climb one step or two steps. ...
The problem involves finding the number of distinct ways to climb to the Nth stair by taking one or two steps at a time.
Use dynamic programming to solve this problem efficiently.
The number of ways to reach the Nth stair is the sum of the number of ways to reach the (N-1)th stair and the (N-2)th stair.
Handle large inputs by taking modulo 10^9+7 to avoid overflow.
Example: For N=3, there are 3 ways to climb to the third s
Round duration - 30 mins
Round difficulty - Medium
Afternoon interview
I was asked OOPS, OS, DBMS, DS and Algo questions.
Questions around my project
Questions around my internships
Round duration - 15 mins
Round difficulty - Easy
Just after interview, HR asked general questions like whether I am a team player etc
Tip 1 : revise interview questions for each topic
Tip 2 : be prepared to be asked anything from your resume including projects
Tip 3 : while practising coding, use notepad instead of IDEs
Tip 1 : keep it to the point, 1 page resume is enough for a fresher
Tip 2 : add important links like LinkedIn profile, leetcode profile
I appeared for an interview before Feb 2023.
2 Coding Test on DSA
3 Hours aptitude test
Some of the top questions asked at the Nagarro interview for freshers -
The duration of Nagarro interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 43 interviews
Interview experience
based on 4.2k reviews
Rating in categories
Associate Staff Engineer
3.3k
salaries
| ₹10 L/yr - ₹36 L/yr |
Staff Engineer
3.1k
salaries
| ₹14.9 L/yr - ₹43.2 L/yr |
Senior Engineer
2.4k
salaries
| ₹6.2 L/yr - ₹23.8 L/yr |
Senior Software Engineer
1.1k
salaries
| ₹5.1 L/yr - ₹27.8 L/yr |
Engineer
972
salaries
| ₹3 L/yr - ₹11.3 L/yr |
Deloitte
Cognizant
TCS
Accenture