Filter interviews by
Hackerrank test on dsa and some mcq questions
Machine coding round on some Cricbuzz functionality
Top trending discussions
ArrayList and LinkedList are both classes in Java that implement the List interface, but they have different underlying data structures.
ArrayList uses a dynamic array to store elements, providing fast random access but slower insertion and deletion.
LinkedList uses a doubly linked list to store elements, providing fast insertion and deletion but slower random access.
Choose ArrayList when you need fast random access and ...
Using synchronized keyword for thread synchronization in Java has advantages like simplicity and disadvantages like potential for deadlock. ReentrantLock offers more flexibility and control.
Advantages of synchronized keyword: simplicity, built-in support in Java
Disadvantages of synchronized keyword: potential for deadlock, lack of flexibility
ReentrantLock offers more control over locking, ability to try and lock with t...
In Java, == compares memory addresses while .equals() compares values of objects. Improper usage can lead to unexpected results.
Use == to compare primitive data types or check if two objects reference the same memory address.
Use .equals() to compare the values of objects, such as strings or custom classes.
Improper usage of == with objects can lead to unexpected results as it compares memory addresses, not values.
The Java garbage collector is responsible for automatically managing memory by reclaiming unused objects.
The garbage collector in Java runs in the background and automatically reclaims memory from objects that are no longer in use.
There are different types of garbage collection algorithms in Java, such as Serial, Parallel, CMS, G1, and ZGC.
Each garbage collection algorithm has its own characteristics and is suitable fo
Java 8 introduced features like lambdas and Stream API which have revolutionized the way Java applications are written.
Lambdas allow for more concise and readable code by enabling functional programming paradigms.
Stream API provides a way to process collections of objects in a functional style, making code more expressive and efficient.
Java 8 also introduced default methods in interfaces, allowing for backward compatib...
Checked exceptions are checked at compile time, while unchecked exceptions are not. Proper handling involves either catching or declaring the exception.
Checked exceptions must be either caught or declared in the method signature using the 'throws' keyword.
Unchecked exceptions do not need to be caught or declared, but can still be handled using try-catch blocks.
Examples of checked exceptions include IOException and Clas...
The Java Memory Model defines how threads interact through memory and how synchronization ensures data consistency.
Java Memory Model specifies how threads interact with memory, ensuring data consistency
It defines rules for reading and writing shared variables in a multithreaded environment
Synchronization mechanisms like synchronized blocks and locks ensure proper visibility and ordering of memory operations
The 'volatil...
Method overloading is when multiple methods have the same name but different parameters, while method overriding is when a subclass provides a specific implementation of a method in its superclass.
Method overloading is achieved within the same class by having multiple methods with the same name but different parameters.
Method overriding occurs in a subclass that provides a specific implementation of a method that is al...
Functional interfaces in Java are interfaces with a single abstract method. They can be used with lambda expressions for functional programming.
Functional interfaces have only one abstract method, but can have multiple default or static methods.
Lambda expressions can be used to implement the abstract method of a functional interface concisely.
An example of a custom functional interface is 'Calculator' with a single abs
Java Stream is a sequence of elements that supports functional-style operations. It differs from Iterator by allowing for more concise and declarative code.
Streams can process elements in a collection in a declarative way, allowing for functional-style operations like map, filter, and reduce.
Streams do not store elements, they operate on the source data structure (e.g., List) directly.
Iterators are used to iterate over...
Immutability in Java means objects cannot be modified after creation. String class achieves immutability by not allowing changes to its value.
Immutability means once an object is created, its state cannot be changed.
String class achieves immutability by making its value final and not providing any methods to modify it.
Advantages of immutable objects include thread safety, caching, and easier debugging.
Example: String s...
final, finally, and finalize have different meanings in Java.
final is a keyword used to declare constants, immutable variables, or prevent method overriding.
finally is a block used in exception handling to execute code after try-catch block.
finalize is a method used for cleanup operations before an object is garbage collected.
Singleton design pattern ensures a class has only one instance and provides a global point of access to it.
Create a private static instance of the class.
Provide a public static method to access the instance.
Use synchronized keyword or double-checked locking to ensure thread safety.
Java annotations are metadata that provide data about a program but do not affect the program itself. They are used in frameworks like Spring to configure and customize behavior.
Java annotations are used to provide metadata about a program, such as information about classes, methods, or fields.
In frameworks like Spring, annotations are used to configure various aspects of the application, such as defining beans, handli...
Java Streams handle parallel processing by splitting the data into multiple chunks and processing them concurrently.
Java Streams use the Fork/Join framework to split the data into chunks and process them in parallel.
Potential pitfalls include increased overhead due to thread management, potential race conditions, and decreased performance for small datasets.
Pitfalls can be mitigated by ensuring thread safety, avoiding ...
ArrayList is preferred for frequent retrieval operations, while LinkedList is suitable for frequent insertions/deletions.
Use ArrayList when you need fast random access and retrieval operations, such as searching for elements in a list.
Choose LinkedList when you need fast insertions/deletions, especially at the beginning or end of the list.
Consider memory overhead and performance trade-offs when deciding between ArrayLi...
ReentrantLock should be used instead of synchronized when more flexibility and control over locking mechanisms is needed.
Use ReentrantLock when you need to implement custom locking strategies or require advanced features like tryLock() and lockInterruptibly()
ReentrantLock supports fair locking mechanisms, ensuring that threads acquire the lock in the order they requested it
ReentrantLock allows for more fine-grained con...
In Java, == checks for reference equality while equals() checks for value equality. Misuse of == can lead to logical errors.
Override equals() when you want to compare the actual content of objects in user-defined classes.
Override hashCode() alongside equals() to ensure consistent behavior in hash-based collections.
Implement Comparable interface and override compareTo() for natural ordering of objects.
Garbage collection in Java automatically reclaims memory occupied by unused objects using different algorithms and memory regions.
Force garbage collection in Java using System.gc() or Runtime.getRuntime().gc()
Not recommended to force garbage collection as it can cause performance issues and disrupt the JVM's optimization
Example: System.gc();
Lambda expressions in Java 8 improve readability and maintainability by allowing concise and functional-style programming.
Lambda expressions reduce boilerplate code by providing a more compact syntax for implementing functional interfaces.
They make code more readable by focusing on the behavior being passed as an argument, rather than the mechanics of how it is implemented.
Lambda expressions enable developers to write ...
I applied via Company Website and was interviewed in Nov 2024. There were 3 interview rounds.
Standard quantitative questions accompanied by logical reasoning and related topics.
OOP concepts include encapsulation, inheritance, polymorphism, and abstraction.
Encapsulation: Bundling data and methods that operate on the data into a single unit (class).
Inheritance: Allows a class to inherit properties and behavior from another class.
Polymorphism: Objects of different classes can be treated as objects of a common superclass.
Abstraction: Hides complex implementation details and only shows the necessa
React is a JavaScript library for building user interfaces.
React allows developers to create reusable UI components.
It uses a virtual DOM for efficient rendering.
React uses a declarative approach to define how the UI should look based on the application state.
It supports server-side rendering for improved performance.
React can be used with other libraries like Redux for state management.
I am a software engineer with a passion for coding and problem-solving. I come from a close-knit family with supportive parents and siblings.
Software engineer with coding and problem-solving skills
Close-knit family with supportive parents and siblings
My strengths include problem-solving and teamwork, while my weaknesses are time management and public speaking. I am addressing my weaknesses by taking time management courses and practicing public speaking.
Strengths: problem-solving, teamwork
Weaknesses: time management, public speaking
Addressing weaknesses: taking time management courses, practicing public speaking
I applied via campus placement at Amity University and was interviewed in Dec 2024. There were 2 interview rounds.
There will be aptitude questions related to surface area, time and distance, as well as profit and loss.
There will be questions related to arrays, linked lists, stacks, queues, and binary search.
I was interviewed before Mar 2024.
posted on 23 Jan 2025
I applied via Company Website and was interviewed in Aug 2023. There were 3 interview rounds.
First time attend aptitude test .
Inheritance is a concept in object-oriented programming where a class can inherit attributes and methods from another class.
Inheritance allows for code reusability and promotes the concept of 'is-a' relationship.
There are different types of inheritance such as single inheritance, multiple inheritance, multilevel inheritance, and hierarchical inheritance.
Example: Class B inheriting from Class A - 'class B: public A {}'
C uses a set of 128 characters, including letters, digits, special characters, and control characters.
C uses 26 letters (uppercase and lowercase), 10 digits (0-9), and various special characters like !, @, #, $, %, etc.
C also includes control characters like newline, tab, carriage return, etc.
The total number of characters used in C is 128.
C is a programming language known for its efficiency and flexibility. It uses 256 characters.
C is a high-level programming language used for system programming, embedded systems, and applications.
C uses 256 characters, including letters, digits, special characters, and whitespace.
Examples of characters in C include 'a', '1', '+', and ' '.
I was interviewed in Jan 2025.
I applied via Walk-in and was interviewed in Nov 2024. There were 5 interview rounds.
Aptitude is one of best round, to improve our skills knowledge technology.
GD is one of best round, because I love this round, sharing my knowledge ideas thinking views, to others for company growth organization growth, this round shows how much skills r there in person can be easily identified .
I have 5 years of experience working as a Software Engineer in various tech companies.
Worked on developing web applications using technologies like JavaScript, HTML, CSS, and React
Experience with backend development using Node.js and MongoDB
Familiar with Agile methodologies and version control systems like Git
Collaborated with cross-functional teams to deliver high-quality software solutions
Participated in code reviews
I have recently acquired skills in machine learning and data analysis.
Completed online courses in machine learning algorithms
Practiced data analysis techniques using Python and R
Attended workshops on deep learning models
Yes, I have experience acting as a team lead in previous projects.
Yes, I have acted as a team lead in previous projects where I was responsible for coordinating tasks and ensuring project deadlines were met.
I have experience delegating tasks to team members based on their strengths and expertise.
I have also facilitated team meetings to discuss progress, address any issues, and brainstorm solutions.
In one project, I led...
The duration of working on a single project varies depending on the project complexity and requirements.
The duration of working on a single project can range from a few days to several months or even years.
Factors such as project scope, team size, resources, and deadlines influence the duration of the project.
For example, a small project with a clear scope may take a few days to complete, while a large-scale project ma
based on 1 interview
Interview experience
Software Engineer
18
salaries
| ₹5.2 L/yr - ₹17.7 L/yr |
System Administrator
8
salaries
| ₹4 L/yr - ₹7.6 L/yr |
Motion Graphics Artist
6
salaries
| ₹6.5 L/yr - ₹9.6 L/yr |
Front end Developer
5
salaries
| ₹3 L/yr - ₹3 L/yr |
Android Developer
5
salaries
| ₹4.8 L/yr - ₹9.5 L/yr |
Disney+ Hotstar
Star Sports
Sony Pictures Networks
Reliance Industries