Filter interviews by
I applied via Company Website and was interviewed in Nov 2020. There was 1 interview round.
Top trending discussions
The Kth stair problem involves finding the number of ways to reach the Kth stair by taking 1 or 2 steps at a time.
Use dynamic programming to solve this problem efficiently.
The number of ways to reach the Kth stair is equal to the sum of ways to reach (K-1)th stair and (K-2)th stair.
Base cases: For K=1, there is only 1 way. For K=2, there are 2 ways.
Example: For K=4, there are 5 ways to reach the 4th stair - [1,1,1,1],
I applied via Naukri.com and was interviewed in Nov 2024. There was 1 interview round.
HashMap internally uses an array of linked lists to store key-value pairs.
HashMap uses hashing to determine the index of the key in the array.
If multiple keys hash to the same index, a linked list is used to store them.
When retrieving a value, the key is hashed to find the index and then the linked list is searched for the key.
Vector is synchronized and slower, ArrayList is unsynchronized and faster.
Vector is synchronized, ArrayList is not.
Vector is slower due to synchronization, ArrayList is faster.
Vector is legacy class, ArrayList is part of Java Collections framework.
Vector doubles its size when full, ArrayList increases by 50%.
I applied via Company Website and was interviewed in Jul 2024. There was 1 interview round.
I m to get yourlife company to work.
It's like technical round & Hr round , way of language speaking.
I was interviewed in Jul 2024.
Functional interfaces in Java are interfaces with only one abstract method, used for lambda expressions and method references.
Functional interfaces can be used with lambda expressions and method references to provide implementation for the single abstract method.
Examples of functional interfaces in Java include Runnable, Callable, and Comparator.
Functional interfaces can also have default and static methods in addition
No, static methods cannot be overridden in interfaces.
Static methods in interfaces are implicitly public and abstract, so they cannot be overridden.
If two interfaces have the same static method signature, it will not cause any conflict.
Implementing classes will have to provide their own implementation of the static method.
I applied via Referral and was interviewed in Dec 2023. There was 1 interview round.
Custom exception is a user-defined exception that extends the functionality of the built-in exceptions in Java.
Custom exceptions are created by extending the Exception class or one of its subclasses.
They allow developers to define their own exception types for specific scenarios.
Custom exceptions can include additional methods and fields to provide more information about the exception.
Example: public class CustomExcept...
Use a HashSet to find duplicate elements in an array of strings.
Create a HashSet to store unique elements.
Iterate through the array and check if the element is already in the HashSet.
If it is, then it is a duplicate element.
Example: String[] array = {"apple", "banana", "apple", "orange"};
I applied via Campus Placement and was interviewed in Feb 2024. There was 1 interview round.
posted on 11 Feb 2024
I applied via AmbitionBox and was interviewed in Jan 2024. There were 2 interview rounds.
An exam used to determine by individual skills
Something assigned,as a particular task or duty
Digital Marketing Executive
5
salaries
| ₹1.8 L/yr - ₹3.6 L/yr |
QA Engineer
4
salaries
| ₹3 L/yr - ₹3.2 L/yr |
Software Engineer
3
salaries
| ₹2.4 L/yr - ₹4.9 L/yr |
Software Developer
3
salaries
| ₹1.2 L/yr - ₹8.4 L/yr |
Digital Marketing Analyst
3
salaries
| ₹1.2 L/yr - ₹2.2 L/yr |
TCS
Infosys
Wipro
HCLTech