i
Filter interviews by
Angular coding task of 30 mins
Top trending discussions
posted on 2 Oct 2024
It was pretty easy. Various theoretical questions on technical knowledge and 3 coding questions. Since I was applying for a .net profile, all questions were related to that only.
Functional interfaces provide a single abstract method for functional programming in Java.
Functional interfaces allow for lambda expressions and method references to be used as instances of the interface.
Interfaces with multiple abstract methods cannot be used for lambda expressions.
Example: java.util.function.Function is a functional interface with a single abstract method apply().
Java 8 introduced new features like lambda expressions, streams, functional interfaces, and default methods.
Lambda expressions: Allows writing concise code by enabling functional programming.
Streams: Provides a way to work with sequences of elements efficiently.
Functional interfaces: Interfaces with a single abstract method, used for lambda expressions.
Default methods: Allows adding new methods to interfaces without br
Yes, one functional interface can extend another interface in Java.
Functional interfaces can extend other functional interfaces in Java.
The child interface can have only one abstract method, but can inherit default methods from the parent interface.
Example: interface Parent { void method1(); } interface Child extends Parent { void method2(); }
posted on 12 Feb 2024
Reverse an array of strings
Use a loop to iterate through half of the array
Swap the elements at the corresponding positions from both ends
Continue swapping until the middle of the array is reached
Find the second largest element in an array
Sort the array in descending order and return the element at index 1
Iterate through the array and keep track of the largest and second largest elements
Use a priority queue to find the second largest element
I applied via Naukri.com and was interviewed in Apr 2024. There was 1 interview round.
I applied via Approached by Company and was interviewed in Aug 2023. There were 3 interview rounds.
Hello tell me about yourself
posted on 23 Oct 2024
I applied via LinkedIn and was interviewed before Oct 2023. There was 1 interview round.
Use a hashmap to store character frequencies in a string.
Iterate through the string and update the hashmap with character frequencies.
Return the hashmap with character frequencies.
Webseries is a series of videos released online, while API is a set of rules and protocols for building and interacting with software applications.
Webseries is a collection of videos released online, often in episodes or seasons.
API (Application Programming Interface) is a set of rules and protocols that allows different software applications to communicate with each other.
Webseries are typically consumed by viewers fo...
posted on 7 Jul 2020
I applied via Referral and was interviewed in Jun 2020. There were 3 interview rounds.
Find maximum for each contiguous subarray of size k from an array of size n.
Iterate through the array and keep track of maximum for each subarray of size k
Use a sliding window approach to efficiently calculate maximum for each subarray
Time complexity: O(n)
Example: arr = [10, 5, 2, 7, 1, 9, 4], k = 3, output = [10, 7, 7, 9, 9]
Permutations of a string
Use recursion to swap characters and generate permutations
Iterate through the string and swap each character with the first character
Repeat the above step for each character in the string
Left view of a binary tree
The left view of a binary tree shows the leftmost node at each level
We can traverse the tree in a pre-order fashion and keep track of the current level
If the current level is greater than the maximum level seen so far, add the node to the result
Segregate an array of 0s and 1s with minimum swaps.
Count the number of 0s in the array.
Swap the 1s with the 0s until all 0s are on one side and 1s on the other.
The minimum number of swaps required is half the number of 1s on the side with fewer 1s.
based on 14 reviews
Rating in categories
Data Engineer
413
salaries
| ₹5 L/yr - ₹20 L/yr |
Senior Data Engineer
391
salaries
| ₹8.9 L/yr - ₹31 L/yr |
Senior Business Analyst
344
salaries
| ₹9.5 L/yr - ₹25 L/yr |
Business Analyst
321
salaries
| ₹6.5 L/yr - ₹14 L/yr |
Machine Learning Engineer
313
salaries
| ₹5 L/yr - ₹16 L/yr |
Fractal Analytics
Tiger Analytics
LatentView Analytics
Mu Sigma