i
Nagarro
Filter interviews by
I primarily code on platforms like GitHub, Visual Studio Code, and online coding environments such as LeetCode and HackerRank.
GitHub: I use it for version control and collaboration on projects.
Visual Studio Code: My go-to IDE for writing and debugging code.
LeetCode: I practice algorithms and data structures to improve my problem-solving skills.
HackerRank: I participate in coding challenges and competitions to enha...
Use the formula for sum of first n natural numbers to find the missing number in the array.
Calculate the sum of first n natural numbers using the formula n*(n+1)/2
Calculate the sum of all numbers in the array
Subtract the sum of array from the sum of first n natural numbers to find the missing number
Data structures like arrays and linked lists are used in real life applications such as social media networks, databases, and GPS systems.
Social media networks use arrays to store user profiles and linked lists to manage friend connections.
Databases use data structures like B-trees and hash tables to efficiently store and retrieve data.
GPS systems use graphs to represent road networks and find the shortest path be...
To swap two numbers without using a third variable, use arithmetic operations.
Use addition and subtraction to swap the numbers. For example, a=5, b=10. a=a+b, b=a-b, a=a-b will swap the values.
Another method is to use XOR operation. For example, a=5, b=10. a=a^b, b=a^b, a=a^b will swap the values.
What people are saying about Nagarro
Reverse a linked list by changing the direction of pointers
Start from the head of the linked list
Iterate through the list and change the direction of pointers to reverse the list
Update the head to point to the last node as the new head
Learn how to declare an array of strings and print it in reverse order using a simple programming approach.
Declare an array of strings: `String[] fruits = {"Apple", "Banana", "Cherry"};`
Use a loop to iterate through the array in reverse: `for (int i = fruits.length - 1; i >= 0; i--)`.
Print each element: `System.out.println(fruits[i]);`.
Example output for the above array: `Cherry`, `Banana`, `Apple`.
The two-pointer algorithm is an efficient technique for solving problems involving arrays or linked lists by using two indices.
1. The two-pointer technique involves using two indices to traverse the data structure, often from opposite ends.
2. It is commonly used in problems like finding pairs that sum to a specific value, e.g., in a sorted array.
3. Example: Given an array [1, 2, 3, 4, 5] and a target sum of 6, poi...
This program manipulates an array of strings, allowing various operations like sorting, searching, and modifying elements.
Initialization: Create an array of strings, e.g., String[] fruits = {'Apple', 'Banana', 'Cherry'};
Sorting: Use Arrays.sort(fruits) to sort the array alphabetically.
Searching: Use Arrays.binarySearch(fruits, 'Banana') to find the index of 'Banana'.
Modification: fruits[1] = 'Blueberry'; changes '...
A code to find the frequency of every character in a string.
Create an empty dictionary to store the frequency of each character.
Iterate through the string and for each character, check if it is already in the dictionary.
If it is, increment its value by 1. If it is not, add it to the dictionary with a value of 1.
Return the dictionary with the frequency of each character.
Abstraction can be achieved by hiding unnecessary details and only exposing essential features.
Identify the essential features of the system
Hide unnecessary details by encapsulating them
Use interfaces to define essential features
Implement the interfaces to provide functionality
Example: A car's interface is the steering wheel, pedals, and dashboard. The engine and transmission are encapsulated.
Example: A software i...
I applied via Campus Placement and was interviewed in Oct 2024. There were 3 interview rounds.
It contain 40 question which is very easy
It contain 3 coding question
I primarily code on platforms like GitHub, Visual Studio Code, and online coding environments such as LeetCode and HackerRank.
GitHub: I use it for version control and collaboration on projects.
Visual Studio Code: My go-to IDE for writing and debugging code.
LeetCode: I practice algorithms and data structures to improve my problem-solving skills.
HackerRank: I participate in coding challenges and competitions to enhance m...
Aptitude test along with CS fundamentals and Coding problems
Data structures like arrays and linked lists are used in real life applications such as social media networks, databases, and GPS systems.
Social media networks use arrays to store user profiles and linked lists to manage friend connections.
Databases use data structures like B-trees and hash tables to efficiently store and retrieve data.
GPS systems use graphs to represent road networks and find the shortest path between...
Use the formula for sum of first n natural numbers to find the missing number in the array.
Calculate the sum of first n natural numbers using the formula n*(n+1)/2
Calculate the sum of all numbers in the array
Subtract the sum of array from the sum of first n natural numbers to find the missing number
I applied via Campus Placement and was interviewed in Jan 2024. There were 4 interview rounds.
Normal Aptitude and reasoning questions
Easy level of questions in Array and String
They asked me a quiz
Reverse a linked list by changing the direction of pointers
Start from the head of the linked list
Iterate through the list and change the direction of pointers to reverse the list
Update the head to point to the last node as the new head
Learn how to declare an array of strings and print it in reverse order using a simple programming approach.
Declare an array of strings: `String[] fruits = {"Apple", "Banana", "Cherry"};`
Use a loop to iterate through the array in reverse: `for (int i = fruits.length - 1; i >= 0; i--)`.
Print each element: `System.out.println(fruits[i]);`.
Example output for the above array: `Cherry`, `Banana`, `Apple`.
To swap two numbers without using a third variable, use arithmetic operations.
Use addition and subtraction to swap the numbers. For example, a=5, b=10. a=a+b, b=a-b, a=a-b will swap the values.
Another method is to use XOR operation. For example, a=5, b=10. a=a^b, b=a^b, a=a^b will swap the values.
I applied via Referral and was interviewed in Aug 2023. There were 3 interview rounds.
Basic codes
of string anagram and arrays
This program manipulates an array of strings, allowing various operations like sorting, searching, and modifying elements.
Initialization: Create an array of strings, e.g., String[] fruits = {'Apple', 'Banana', 'Cherry'};
Sorting: Use Arrays.sort(fruits) to sort the array alphabetically.
Searching: Use Arrays.binarySearch(fruits, 'Banana') to find the index of 'Banana'.
Modification: fruits[1] = 'Blueberry'; changes 'Banan...
Some of the latest technologies right now include artificial intelligence, machine learning, blockchain, Internet of Things (IoT), and 5G.
Artificial intelligence (AI) - used in various industries for automation and decision-making
Machine learning - subset of AI that enables systems to learn and improve from experience
Blockchain - decentralized and secure way of storing and sharing data
Internet of Things (IoT) - network...
I applied via Campus Placement
Friends be professional or personal
Maths, Aptitude and Data Science
Aptitude test contains reasoning, quants and english easy to clear.
Coding test contains 5 questions. 3 for developer and 2 more for commando developer with different salary.
I applied via Campus Placement
There were total 5 coding que , 2 hard 3 medium
The question involves two tasks: moving all zeroes to the end of an array and counting the frequency of characters in a string.
To move all zeroes to the end of an array, iterate through the array and keep track of the non-zero elements. Then, fill the remaining positions with zeroes.
To count the frequency of characters in a string, iterate through the string and use a dictionary or array to store the count of each char...
I applied via Job Fair and was interviewed in Jan 2023. There were 3 interview rounds.
There were 2 coding questions medium level
The duration of Nagarro Associate Software Engineer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 18 interview experiences
Difficulty level
Duration
based on 169 reviews
Rating in categories
Associate Staff Engineer
3.3k
salaries
| ₹10.1 L/yr - ₹36 L/yr |
Staff Engineer
3.2k
salaries
| ₹11.8 L/yr - ₹45 L/yr |
Senior Engineer
2.6k
salaries
| ₹6.2 L/yr - ₹23.6 L/yr |
Senior Software Engineer
1.2k
salaries
| ₹6.8 L/yr - ₹31 L/yr |
Software Engineer
1.1k
salaries
| ₹3.3 L/yr - ₹13 L/yr |
Deloitte
Cognizant
TCS
Accenture