Filter interviews by
I applied via Campus Placement and was interviewed in Dec 2021. There were 3 interview rounds.
Encapsulation is the process of hiding implementation details while abstraction is the process of hiding unnecessary details.
Encapsulation is achieved through access modifiers like public, private, and protected.
Abstraction is achieved through abstract classes and interfaces.
Encapsulation protects the data from outside interference while abstraction focuses on the essential features of an object.
Example of encapsulatio...
Sorting code arranges elements in a specific order.
Choose a sorting algorithm based on the requirements
Iterate through the array and compare adjacent elements
Swap the elements if they are not in the desired order
Repeat until the array is sorted
I applied via Recruitment Consultant and was interviewed in Mar 2021. There were 3 interview rounds.
A framework is a set of guidelines, standards, and tools used to develop software applications.
A framework provides a structure for developers to build upon
It includes pre-written code and libraries to simplify development
Frameworks can be specific to a programming language or platform
Examples include React for web development and TensorFlow for machine learning
I applied via Recruitment Consulltant and was interviewed before Jun 2021. There was 1 interview round.
BigInteger is used for mathematical operations involving very large integers in Java.
BigInteger is used when the range of values supported by primitive data types like int and long is not sufficient.
It is commonly used in cryptography and security applications.
It provides methods for arithmetic, bitwise, and logical operations on large integers.
Example: calculating factorial of a large number, generating large prime nu
Merge Sort Algo code in java
Divide the array into two halves
Recursively sort the two halves
Merge the sorted halves
Time complexity: O(n log n)
Remove duplicate objects from an array of multiple objects.
Create a new array to store unique objects
Loop through the original array and check if the object already exists in the new array
If not, add it to the new array
Return the new array
Maintain state by using a global variable or a state management system.
Use a global variable to store the state and access it whenever needed.
Use a state management system like Redux or MobX to manage the state.
Avoid using local variables or closures to store state as they will be lost when the code is repeated.
Consider using object-oriented programming principles to encapsulate state within objects.
Use functional prog...
Design patterns are reusable solutions to common software problems. Android system uses various design patterns.
MVC (Model-View-Controller) pattern is used in Android to separate UI logic from business logic.
Singleton pattern is used to ensure only one instance of a class is created.
Observer pattern is used to notify changes in data to multiple components.
Builder pattern is used to simplify complex object creation.
Adap...
I applied via Referral and was interviewed before Dec 2020. There were 4 interview rounds.
posted on 5 Feb 2021
I applied via Recruitment Consulltant and was interviewed before Jul 2021. There were 3 interview rounds.
based on 1 review
Rating in categories
Senior Consultant
3.8k
salaries
| ₹8 L/yr - ₹30 L/yr |
Lead Consultant
3.5k
salaries
| ₹10.5 L/yr - ₹34.6 L/yr |
Software Engineer
3.3k
salaries
| ₹3.5 L/yr - ₹13.3 L/yr |
Consultant
3.3k
salaries
| ₹6 L/yr - ₹20 L/yr |
Associate Consultant
2.7k
salaries
| ₹4.7 L/yr - ₹15.1 L/yr |
Cognizant
TCS
Infosys
Accenture