i
Nagarro
Filter interviews by
I applied via Naukri.com
Practice simple question on hacker rank
JVM internal model is the way in which JVM manages and executes Java code.
JVM has a class loader subsystem that loads classes into memory
JVM uses a stack-based architecture for executing code
JVM has a garbage collector that manages memory allocation and deallocation
JVM has a Just-In-Time (JIT) compiler that compiles bytecode to machine code for faster execution
Database index is a data structure that improves the speed of data retrieval operations.
Indexes are created on one or more columns of a table.
They work by creating a separate data structure that contains the indexed column(s) and a pointer to the actual data.
This allows the database to quickly locate the data based on the indexed column(s).
Indexes can be clustered or non-clustered, depending on how the data is physical...
posted on 29 Oct 2024
When you enter google.com in the web browser, the browser sends a request to Google's servers, which then respond with the Google homepage.
Browser sends a request to DNS server to resolve the domain name 'google.com' to an IP address
Browser then sends a request to the IP address associated with 'google.com'
Google's servers respond with the HTML content of the Google homepage
Browser renders the HTML content and displays
Different types of software testing include unit testing, integration testing, system testing, and acceptance testing.
Unit testing: Testing individual components or modules of the software in isolation.
Integration testing: Testing how different modules work together as a group.
System testing: Testing the entire system as a whole to ensure it meets requirements.
Acceptance testing: Testing the software with end users to
In 2 years, I see myself as a senior software engineer leading a team of developers on innovative projects.
Leading a team of developers on innovative projects
Taking on more responsibilities and challenges
Continuing to learn and grow in my technical skills
Possessing technical skills alone may not be sufficient to become a project manager.
Project management requires a combination of technical skills, leadership abilities, communication skills, and organizational skills.
Experience in managing projects, leading teams, and handling stakeholders is crucial for a project manager role.
Certifications such as PMP (Project Management Professional) can also be beneficial in transi
Inheritance is a concept in object-oriented programming where a class can inherit attributes and methods from another class.
Allows for code reusability by creating a new class based on an existing class
Derived class (subclass) inherits properties and behaviors from a base class (superclass)
Can have multiple levels of inheritance, creating a hierarchy of classes
Example: Animal class can be a base class with Dog and Cat
Polymorphism is the ability of a function or method to behave differently based on the object it is acting upon.
Polymorphism allows objects of different classes to be treated as objects of a common superclass.
It enables a single interface to be used for different data types or classes.
Examples include method overloading and method overriding in object-oriented programming.
Code to reverse a string using array of characters
Iterate through half of the string and swap characters from start and end
Use a temporary variable to store the character being swapped
Handle edge cases like empty string or single character string
posted on 17 Dec 2024
I applied via Approached by Company and was interviewed in Oct 2023. There were 3 interview rounds.
2 coding questions and should complete one after another
60 min test with multiple choice questions
Merit and demerit of Machine learning ?
General Aptitude and reasoning
Normalisation is the process of organizing data in a database to reduce redundancy and improve data integrity.
It involves dividing larger tables into smaller ones and defining relationships between them.
Normalization helps to eliminate data inconsistencies and anomalies.
There are different levels of normalization, such as first normal form (1NF), second normal form (2NF), and so on.
Normalization can improve database pe...
Polymorphism is the ability of an object to take on many forms.
It allows objects of different classes to be treated as if they were objects of the same class.
It is achieved through method overriding and method overloading.
Example: A shape class can have multiple subclasses like circle, square, etc. and all can be treated as shapes.
Example: A method can take an object of a parent class as a parameter and it can accept a
Stack is a data structure that follows LIFO. Pre and post tree formation are methods of traversing a tree.
Stack is used for backtracking, undoing, and recursion.
Pre-order traversal visits the root node first, then left subtree, then right subtree.
Post-order traversal visits the left subtree, then right subtree, then root node.
posted on 31 May 2022
I was interviewed in Apr 2022.
Round duration - 90 minutes
Round difficulty - Medium
You are provided with an arbitrary binary tree consisting of 'N' nodes where each node is associated with a certain value. The task is to determine the height of the tree.
The height of a binary tree is the maximum number of edges from the root to a leaf node.
Traverse the tree recursively and keep track of the maximum height
If the current node is null, return 0
Otherwise, calculate the height of the left and right subtrees and return the maximum height plus 1
You are given a long type array/list ARR
of size N
, representing an elevation map. The value ARR[i]
denotes the elevation of the ith
bar. Your task is to determine th...
The question asks to calculate the total amount of rainwater that can be trapped in the given elevation map.
Iterate through the array and find the maximum height on the left and right side of each bar.
Calculate the amount of water that can be trapped on each bar by subtracting its height from the minimum of the maximum heights on both sides.
Sum up the trapped water for all bars and return the total amount.
Round duration - 45 minutes
Round difficulty - Medium
Given two sorted integer arrays ARR1
and ARR2
of size M and N, respectively, merge them into ARR1
as one sorted array. Assume that ARR1
has a size of M + N to hol...
The task is to merge two sorted arrays into one sorted array.
Create a new array with size M + N to store the merged array
Use two pointers to iterate through the elements of ARR1 and ARR2
Compare the elements at the current pointers and add the smaller element to the new array
Move the pointer of the array from which the element was added
Repeat the process until all elements are merged
If there are remaining elements in AR...
Tip 1 : Just focus on Data structures mostly arrays, string and dp and practice at least 350 Questions
Tip 2 : Prepare topics related to web tech like HTML, CSS, Node Js
Tip 3 : Prepare Java, OOPS and if required then spring framework and jsp, servlets and do atleast 2 good projects
Tip 1 : Everything should be clear and right what you have written on your resume.
Tip 2 : Have some projects on your resume and that projects should be done by you only and you should have proper knowledge of the tech and flow you have used in that projects.
I applied via Naukri.com and was interviewed in Apr 2022. There were 2 interview rounds.
HANA is an in-memory database platform while ECC is a traditional ERP system.
HANA is designed to handle large amounts of data in real-time while ECC is not optimized for real-time processing.
HANA uses column-based storage while ECC uses row-based storage.
HANA has a simpler data model and can handle unstructured data while ECC has a more complex data model.
HANA is a newer technology while ECC has been around for decades...
posted on 21 Apr 2022
I applied via Referral and was interviewed in Mar 2022. There were 3 interview rounds.
based on 1 review
Rating in categories
Associate Staff Engineer
2.9k
salaries
| ₹10 L/yr - ₹35.2 L/yr |
Staff Engineer
2.8k
salaries
| ₹15 L/yr - ₹43.2 L/yr |
Senior Engineer
2.4k
salaries
| ₹5.9 L/yr - ₹25 L/yr |
Senior Software Engineer
1.1k
salaries
| ₹6.4 L/yr - ₹29.2 L/yr |
Engineer
936
salaries
| ₹3 L/yr - ₹11.1 L/yr |
Deloitte
Cognizant
TCS
Accenture