Filter interviews by
Stream API in Java provides a functional approach to processing collections of objects.
Allows for concise and readable code by using functional programming concepts like map, filter, and reduce.
Enables parallel processing of data, improving performance for large datasets.
Supports lazy evaluation, allowing for efficient use of resources.
Example: List
Java code to filter even numbers from a list and store the square of those in another list
Create two ArrayLists to store the original list and the squared even numbers list
Iterate through the original list and check if each number is even
If the number is even, square it and add it to the squared even numbers list
Java code to check if two strings are anagrams
Create a function that takes in two strings as parameters
Convert both strings to char arrays and sort them
Compare the sorted char arrays to check if they are equal
Functional interfaces in Java are needed to enable the use of lambda expressions, which provide a concise way to implement single abstract method interfaces.
Functional interfaces have exactly one abstract method and can have multiple default or static methods.
They are used to enable the use of lambda expressions, which provide a concise way to implement the single abstract method.
Examples of functional interfaces in Ja...
Threads in Java can be created by extending the Thread class or implementing the Runnable interface.
Extend the Thread class and override the run() method
Implement the Runnable interface and implement the run() method
Use the Executor framework for managing threads
Coding round first round
Array methods in JavaScript are built-in functions that allow manipulation and traversal of arrays.
Some common array methods include: map(), filter(), reduce(), forEach(), and find().
map() - creates a new array by applying a function to each element in the original array.
filter() - creates a new array with elements that pass a certain condition.
reduce() - applies a function against an accumulator and each element in th...
I was interviewed before Jun 2023.
Microcontrollers are integrated circuits designed for specific tasks with built-in memory and peripherals, while microprocessors are general-purpose CPUs without built-in memory or peripherals.
Microcontrollers are typically used in embedded systems for specific tasks like controlling a microwave oven or a washing machine.
Microprocessors are used in general-purpose computing devices like laptops, desktops, and servers.
M...
Qburst interview questions for popular designations
Promises are used in JavaScript to handle asynchronous operations.
Promises are objects that represent the eventual completion or failure of an asynchronous operation.
They are used to handle asynchronous operations in a more readable and manageable way.
Promises have three states: pending, fulfilled, or rejected.
They can be chained using .then() and .catch() methods.
Promises can be created using the Promise constructor o...
Get interview-ready with Top Qburst Interview Questions
Given array based problem to solve in online editor
I applied via Naukri.com and was interviewed in Sep 2023. There were 2 interview rounds.
Python programming language
Based on python language
2 Easy coding questions and one medium coding question.
I applied via Youtube and was interviewed before Aug 2023. There was 1 interview round.
I applied via LinkedIn and was interviewed in Nov 2022. There were 3 interview rounds.
Top trending discussions
Interview experience
Senior Engineer
197
salaries
| ₹7.7 L/yr - ₹16.4 L/yr |
Senior Software Engineer
120
salaries
| ₹6.2 L/yr - ₹17 L/yr |
Lead Engineer
109
salaries
| ₹10 L/yr - ₹24 L/yr |
Software Engineer
107
salaries
| ₹3 L/yr - ₹12.1 L/yr |
Engineer
83
salaries
| ₹4.7 L/yr - ₹11 L/yr |
TCS
Infosys
Wipro
HCLTech