Filter interviews by
Be the first one to contribute and help others!
I applied via Campus Placement and was interviewed in Jan 2021. There were 3 interview rounds.
Swap two numbers with and without temporary variable
Without temporary variable: Use addition and subtraction
With temporary variable: Use a third variable to store the value of one of the numbers
Example without temporary variable: a=5, b=7; a=a+b; b=a-b; a=a-b;
Example with temporary variable: a=5, b=7; temp=a; a=b; b=temp;
I applied via Naukri.com and was interviewed in Oct 2020. There was 1 interview round.
Second level cache is a caching mechanism used to improve performance by storing frequently accessed data in memory.
Second level cache is implemented at the application level and can be configured using frameworks like Hibernate.
To optimize SQL queries, one can use indexes, avoid using SELECT *, and use JOINs instead of subqueries.
SOLID principles are a set of design principles for writing maintainable and scalable cod...
To deploy an application in AWS, you need to create an EC2 instance, configure security groups, install necessary software, and upload your application code.
Create an EC2 instance in the desired region and select the appropriate instance type
Configure security groups to allow traffic to and from the instance
Install necessary software and dependencies on the instance
Upload your application code to the instance
Start the ...
I applied via Naukri.com and was interviewed in Jun 2021. There were 3 interview rounds.
I applied via Recruitment Consultant and was interviewed in Nov 2020. There were 3 interview rounds.
I applied via Company Website and was interviewed before Aug 2020. There were 4 interview rounds.
I applied via Campus Placement and was interviewed in Dec 2020. There were 4 interview rounds.
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)
I applied via Naukri.com and was interviewed in Nov 2020. There was 1 interview round.
OOPS stands for Object-Oriented Programming System.
OOPS is a programming paradigm that focuses on objects and their interactions.
It involves encapsulation, inheritance, and polymorphism.
Encapsulation is the process of hiding implementation details from the user.
Inheritance allows a class to inherit properties and methods from another class.
Polymorphism allows objects to take on multiple forms or behaviors.
Examples of O
A blueprint for creating objects that share common properties and behaviors.
Classes are used in object-oriented programming to create objects with similar attributes and methods.
They serve as a blueprint for creating objects.
Classes can inherit properties and methods from other classes.
Examples include a class for creating different types of cars or a class for creating different types of animals.
Abstraction is the process of hiding complex implementation details and exposing only the necessary information.
Abstraction allows us to focus on the essential features of an object or system, without getting bogged down in unnecessary details.
It helps to reduce complexity and increase efficiency in software development.
For example, a car dashboard abstracts away the complex workings of the engine and presents only the...
Object slicing is when a derived class object is assigned to a base class object, resulting in loss of derived class attributes.
Object slicing occurs when a derived class object is assigned to a base class object.
The result is the loss of derived class attributes.
This happens because the base class object can only hold the attributes of the base class.
Example: class Base { int x; }; class Derived : public Base { int y;...
I applied via Naukri.com and was interviewed in Apr 2021. There were 4 interview rounds.
TCS
Accenture
Cognizant
Infosys