Filter interviews by
Count the occurrence of each word in a given string and store it in a map.
Split the string into words using whitespace as delimiter
Create a map to store the word count
Iterate through the words and update the count in the map
Return the map
Functional interface is an interface with only one abstract method.
Functional interface can have any number of default or static methods
It is used for lambda expressions and method references
Examples include Runnable, Comparator, and Function interfaces
Java 8 introduced several new features including lambda expressions, streams, and default methods.
Lambda expressions for functional programming
Streams for efficient processing of large data sets
Default methods to add new functionality to interfaces
Date and Time API for improved handling of date and time
Nashorn JavaScript engine for improved performance
Parallel array sorting for faster sorting of large arrays
A test case can be excluded from execution by using tags or annotations.
Add a tag or annotation to the test case with a specific value
Configure the test runner to exclude test cases with that tag or annotation
Use conditional statements in the test code to skip the test case based on certain conditions
Alpha testing and beta testing are two types of software testing performed before releasing the software to the public.
Alpha testing is performed by the developers in-house, before releasing the software to external testers.
Beta testing is performed by external testers, after the software has been released to a limited audience.
Alpha testing is focused on identifying bugs and issues in the software, while beta tes...
To get data from a file in Selenium, we can use Java IO classes and read the file content.
Create a File object with the file path
Create a FileReader object with the File object
Create a BufferedReader object with the FileReader object
Use the BufferedReader object to read the file content line by line
Close the BufferedReader object
Test case can be executed multiple times using automation tools or by manually running the test case.
Use automation tools like Selenium or Appium to execute test cases multiple times.
Create a loop in the automation script to execute the test case multiple times.
Manually execute the test case multiple times by following the steps in the test case document.
Use data-driven testing to execute the same test case with d...
List is an ordered collection of elements while Set is an unordered collection of unique elements.
List allows duplicate elements while Set does not.
List maintains the order of elements while Set does not.
List is implemented using an array while Set is implemented using a hash table.
Example: List - [1, 2, 3, 3, 4], Set - {1, 2, 3, 4}
Yes, it is possible to work with multiple threads in core data.
Use NSManagedObjectContextConcurrencyType to specify concurrency type
Create a separate managed object context for each thread
Use performBlock or performBlockAndWait to execute tasks on the correct context
Merge changes from other contexts using NSManagedObjectContextDidSaveNotification
The optimal algorithm for finding common elements in two arrays is using a hash table.
Create a hash table for one of the arrays.
Iterate through the other array and check if each element exists in the hash table.
If it does, add it to the result array.
Time complexity is O(n) and space complexity is O(n).
I applied via Job Portal and was interviewed in Nov 2024. There were 2 interview rounds.
The singleton design pattern ensures a class has only one instance and provides a global point of access to it.
Restricts instantiation of a class to a single object.
Provides a global access point to that instance.
Commonly used for configuration settings, logging, and thread pools.
Example in Java: Use a private constructor and a static method to get the instance.
Thread-safe implementations can be achieved using synchron...
Use Java Streams to count character occurrences in a string and find the most frequent one efficiently.
Utilize Java Streams to process the string: `string.chars()` converts to an IntStream.
Group characters using `Collectors.groupingBy()` to count occurrences.
Sort the map by values to find the maximum occurrence: `map.entrySet().stream().max(Map.Entry.comparingByValue())`.
Example: For input 'hello', the output should be...
An outer join retrieves records from both tables, including unmatched rows from one or both sides.
Outer joins can be LEFT, RIGHT, or FULL, depending on which table's unmatched rows you want to include.
Example of LEFT JOIN: SELECT * FROM A LEFT JOIN B ON A.id = B.a_id; // Includes all from A and matched from B.
Example of RIGHT JOIN: SELECT * FROM A RIGHT JOIN B ON A.id = B.a_id; // Includes all from B and matched from A...
3 questions
1. Check the given string is reversed?
input: "worldhello" output: "true"
2. Check the given string is permutation of palindrome?
3. Sort a stack using an empty stack
I applied via Naukri.com and was interviewed in Oct 2024. There was 1 interview round.
GO uses goroutines and channels to handle concurrency efficiently.
GO uses goroutines to achieve concurrency. Goroutines are lightweight threads managed by the Go runtime.
Channels are used to communicate between goroutines. They provide a safe way to pass data between concurrent processes.
GO also has a built-in 'sync' package for synchronization primitives like mutexes and wait groups.
GO's 'select' statement allows for ...
defer in Go is used to delay the execution of a function until the surrounding function returns.
Defer is used to ensure that a function call is performed at the end of the surrounding function, regardless of where the defer statement is located.
If there are multiple defers in a function, they will be executed in Last In, First Out (LIFO) order.
Example: func exampleFunc() { defer fmt.Println('First defer'); defer fmt.Pr...
Memory leak in Android refers to a situation where an application uses memory inefficiently, causing unused memory to accumulate and not be released.
Memory leaks can occur when objects are not properly released after use, leading to a buildup of unused memory.
Common causes of memory leaks in Android include holding onto references to objects that are no longer needed, using static variables in a way that prevents them ...
Use ViewModel to share data between fragments in Android
Create a ViewModel class to hold the data to be shared
Observe the ViewModel in each fragment to receive updates
Use LiveData to ensure data is updated in real-time
A Hash Map is a data structure that stores key-value pairs and allows for fast retrieval of values based on keys.
Use an array to store the key-value pairs
Implement a hash function to map keys to indices in the array
Handle collisions by using techniques like chaining or open addressing
Activity lifecycle in Android refers to the different states an activity goes through during its lifetime.
There are several states in the activity lifecycle, including onCreate, onStart, onResume, onPause, onStop, and onDestroy.
Activities can transition between these states based on user interactions or system events.
Understanding the activity lifecycle is crucial for managing resources and maintaining a smooth user ex...
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<String> names = Arrays.asList("Alice", "Bob", "Charlie"); names....
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
I applied via Naukri.com and was interviewed in Oct 2024. There was 1 interview round.
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...
Swap number, sql queries
I applied via Naukri.com and was interviewed in Jul 2024. There was 1 interview round.
Daily tasks for an Azure DevOps Engineer include managing CI/CD pipelines, collaborating with teams, and monitoring system performance.
Manage and optimize CI/CD pipelines using Azure Pipelines to automate build and deployment processes.
Collaborate with development and operations teams to ensure smooth integration and delivery of applications.
Monitor application performance and system health using Azure Monitor and Appl...
I applied via Campus Placement and was interviewed in Jan 2024. There were 4 interview rounds.
Global warming at morning 9:00 with 10 people
There are lot question in aptitude
Top trending discussions
The duration of QBurst Technologies interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 60 interview experiences
Difficulty level
Duration
based on 418 reviews
Rating in categories
Senior Engineer
454
salaries
| ₹6 L/yr - ₹18 L/yr |
Senior Software Engineer
433
salaries
| ₹6.3 L/yr - ₹26.8 L/yr |
Lead Engineer
356
salaries
| ₹8.2 L/yr - ₹26.5 L/yr |
Software Engineer
288
salaries
| ₹4.2 L/yr - ₹14 L/yr |
Engineer
149
salaries
| ₹4.1 L/yr - ₹11.6 L/yr |
Thomson Reuters
Oracle Cerner
Chetu
R Systems International