i
Red Hat
Filter interviews by
I applied via Referral and was interviewed in Mar 2022. There were 3 interview rounds.
Automation framework is a set of guidelines and rules for creating and maintaining automated tests. Pytest is a testing framework for Python.
Automation framework provides a structure for organizing test cases, test data, and test scripts.
Pytest is a popular testing framework that supports test automation, fixtures, and parameterization.
Pytest execution involves running test cases, reporting test results, and generating...
Sorting algorithm is a process of arranging data in a particular order.
Choose a sorting algorithm based on the data size and type
Implement the chosen algorithm in the programming language of choice
Test the algorithm with sample data to ensure correctness
Analyze the time and space complexity of the algorithm
Optimize the algorithm if necessary
Top trending discussions
I applied via Company Website and was interviewed in Jun 2021. There was 1 interview round.
I applied via LinkedIn and was interviewed in Jan 2021. There was 1 interview round.
I applied via Naukri.com and was interviewed in Apr 2021. There was 1 interview round.
Filter in MVC is used to retrieve a subset of data from a larger dataset based on certain criteria.
Filters can be applied to data in the model or in the view.
Filters can be used to sort, group, or limit the data returned.
Filters can be implemented using LINQ or other query languages.
Examples of filters include date range filters, category filters, and search filters.
I applied via Referral and was interviewed in Apr 2021. There were 3 interview rounds.
I applied via Approached by Company and was interviewed before Aug 2021. There was 1 interview round.
Abstract class can have implementation while interface cannot. Classes can implement multiple interfaces but only one abstract class.
Abstract class can have constructors while interface cannot.
Abstract class can have non-abstract methods while interface cannot.
Interfaces are used for full abstraction while abstract classes are used for partial abstraction.
Example: Abstract class - Animal with method eat() and subclass ...
I applied via Naukri.com and was interviewed in Jan 2021. There were 3 interview rounds.
I applied via Naukri.com and was interviewed before Jul 2020. There were 4 interview rounds.
Find median of 2 sorted arrays in O(log N) time complexity and O(1) space complexity
Use binary search to find the partition point in both arrays
Calculate the median based on the partition point and array sizes
Adjust the partition points based on the median value
Repeat until the partition points are at the median
Handle edge cases such as empty arrays and uneven array sizes
Anagram of strings in O(1) space complexity
Use a fixed size array of integers to store the frequency of characters in the first string
Iterate through the second string and decrement the frequency of each character in the array
If all the frequencies are zero, then the strings are anagrams
Return true or false accordingly
Level order traversal of a tree using Queue
Create a queue and add the root node to it
While the queue is not empty, remove the front node and print its value
Add the left and right child nodes of the removed node to the queue
Repeat until the queue is empty
Reverse level order traversal of a tree using Queue
Create a queue and push the root node into it
While the queue is not empty, pop the front node and push its children into the queue
Add the popped node to a stack
Once the queue is empty, pop elements from the stack and print them
BFS and DFS are graph traversal algorithms. BFS explores nodes level by level while DFS explores nodes depth by depth.
BFS uses a queue while DFS uses a stack or recursion.
BFS is optimal for finding shortest path while DFS is optimal for finding a path between two nodes.
BFS requires more memory as it stores all the nodes at each level while DFS requires less memory.
BFS can be used to find connected components while DFS
Find product of each element of an array except that element in O(N) time complexity without using / operation
Use prefix and suffix products
Multiply prefix and suffix products for each element to get the final product
Handle edge cases where array has 0 or 1 element separately
Recursively delete a linked list
Create a recursive function that takes the head of the linked list as input
Base case: if the head is null, return
Recursively call the function with the next node as input
Delete the current node
Recursively delete a linked list from the end.
Start from the head and recursively traverse to the end of the list.
Delete the last node and set the second last node's next pointer to null.
Repeat until the entire list is deleted.
Use a recursive function to implement the deletion process.
Recursively delete a tree by deleting all its child nodes and then the parent node.
Start from the leaf nodes and delete them first.
Then move up to the parent nodes and delete them.
Repeat until the root node is deleted.
Use post-order traversal to ensure child nodes are deleted before parent nodes.
Recursively delete elements from the end of an array.
Create a recursive function that removes the last element of the array.
Call the function recursively until the desired number of elements are removed.
Handle edge cases such as empty arrays and removing more elements than the array contains.
Floyd Warshall finds shortest path between all pairs of vertices while Djikstra finds shortest path from a single source.
Floyd Warshall is used for dense graphs while Djikstra is used for sparse graphs.
Floyd Warshall has a time complexity of O(n^3) while Djikstra has a time complexity of O((n+m)logn).
Floyd Warshall can handle negative edge weights while Djikstra cannot.
Floyd Warshall can detect negative cycles while Dj
There is no known algorithm to find shortest path in 2-D space in O(log N) time.
The best known algorithm for finding shortest path in 2-D space is Dijkstra's algorithm which has a time complexity of O(N^2).
Other algorithms like A* and Bellman-Ford have better time complexity but still not O(log N).
If the points are on a grid, Lee algorithm can be used which has a time complexity of O(N).
Design a system for putting newspapers using classes and functions
Create a Newspaper class with attributes like title, date, and content
Create a Publisher class with methods to publish and distribute newspapers
Create a Subscriber class with methods to subscribe and receive newspapers
Use inheritance to create different types of newspapers like daily, weekly, etc.
Implement a database to store newspaper information and ha
I believe practical experience is more valuable than higher studies.
I have gained valuable experience through internships and projects.
I prefer hands-on learning and problem-solving over theoretical knowledge.
I am constantly learning and improving my skills through online courses and workshops.
based on 1 review
Rating in categories
Technical Support Engineer
227
salaries
| ₹7.5 L/yr - ₹20.4 L/yr |
Software Engineer
161
salaries
| ₹9.9 L/yr - ₹26 L/yr |
Associate Technical Support Engineer
110
salaries
| ₹6.5 L/yr - ₹10 L/yr |
Senior Software Engineer
101
salaries
| ₹14 L/yr - ₹42 L/yr |
Senior Technical Support Engineer
87
salaries
| ₹11 L/yr - ₹26.3 L/yr |
IBM
Oracle
Thomson Reuters
Oracle Cerner