Filter interviews by
Clear (1)
I applied via Campus Placement and was interviewed before May 2023. There were 2 interview rounds.
Circular linked list question
Graph based data structures and algorithms are essential for solving complex problems involving relationships and connections.
Graphs consist of nodes and edges that represent relationships between the nodes.
Common graph algorithms include depth-first search (DFS) and breadth-first search (BFS).
Examples of graph based data structures include adjacency list and adjacency matrix.
Top trending discussions
I applied via Campus Placement and was interviewed in Dec 2016. There were 3 interview rounds.
Given 2 arrays with n and n-1 elements, find the unique element in the larger array.
Loop through the larger array and check if each element is present in the smaller array.
If an element is not present in the smaller array, it is the unique element.
Return the unique element.
Example: arr1 = ['a', 'b', 'c', 'd'], arr2 = ['a', 'b', 'c'], unique element = 'd'
Density of a person in a social networking graph is the ratio of friends who interacted with the person to the total number of friends.
Calculate the number of friends who interacted with the person.
Calculate the total number of friends for that person.
Divide the number of interacting friends by the total number of friends to get the density.
Density = (Number of interacting friends) / (Total number of friends)
Given a map of coffee shops and a person, find the closest n coffee shops to him.
Use the person's location and calculate the distance to each coffee shop on the map.
Sort the coffee shops by distance and return the closest n.
Consider using a data structure like a priority queue to efficiently find the closest coffee shops.
Higher studies not necessary for current career goals.
My current career goals do not require higher studies.
I have gained enough knowledge and experience through my work.
I believe in continuous learning and development through on-the-job training and workshops.
I am open to pursuing higher studies in the future if it aligns with my career goals.
A URL shortener is a tool that takes a long URL and creates a shorter, easier-to-share link.
Generate a unique short code for each URL
Store the short code and original URL in a database
Redirect users from the short URL to the original URL
Track clicks and analytics for each short URL
Design a thread-safe implementation of HashMap.
Use synchronized methods or locks to ensure mutual exclusion.
Consider using ConcurrentHashMap instead of HashMap.
Use volatile keyword for variables accessed by multiple threads.
Avoid using iterators as they may cause ConcurrentModificationException.
Use atomic operations for read-modify-write operations.
Consider using immutable keys to avoid synchronization issues.
I applied via Recruitment Consulltant and was interviewed in Nov 2023. There was 1 interview round.
Semaphores and mutexes are synchronization mechanisms used in multi-threaded programming to control access to shared resources.
Semaphores are used to control access to a shared resource by counting the number of available resources.
Mutexes are used to provide mutual exclusion to shared resources by allowing only one thread to access the resource at a time.
Semaphores can be used to implement producer-consumer problem, w...
I was interviewed before Sep 2016.
I have worked on various projects involving software development, data analysis, and machine learning.
Developed a web application for tracking personal fitness goals using React and Node.js
Implemented a machine learning model to predict customer churn for a telecom company
Analyzed data from a clinical trial to identify patterns in patient outcomes
Algorithm to find median in a stream of n numbers
Sort the list and find the middle element for odd n
For even n, find the average of middle two elements
Use a min-heap and max-heap to maintain the smaller and larger half of the stream respectively
Insert new elements into the appropriate heap and balance the heaps to ensure median is always at the top
I applied via Campus Placement and was interviewed in Jan 2016. There was 1 interview round.
Given 2 arrays, one with n elements and another with n-1 elements, answer the question.
Compare the elements of both arrays to find the missing element.
Use a loop or a built-in function to iterate through the arrays.
Consider edge cases where the missing element is at the beginning or end of the array.
I applied via Campus Placement and was interviewed in Dec 2016. There was 1 interview round.
The question asks to link up all nodes present in the same level of a binary search tree using the next pointer.
Traverse the tree level by level using a queue
For each level, create a linked list by connecting the nodes using the next pointer
Use a dummy node to keep track of the start of the linked list for each level
posted on 2 Dec 2016
I applied via Campus Placement and was interviewed in Dec 2016. There was 1 interview round.
The question asks for the length of the longest absolute directory path string and how to optimize it.
Use a depth-first search (DFS) algorithm to traverse the directory structure
Maintain a stack to keep track of the current path length
Keep updating the maximum path length encountered
Consider the length of each directory/file name and the length of the path separators
Debugging a code of Dining Philosopher Problem
Check for deadlock conditions
Ensure that each philosopher can only pick up two forks at a time
Implement a solution using semaphores or monitors
Consider using a timeout mechanism to prevent deadlock
Test the code with different scenarios to identify and fix any issues
Design a system to find the millionth person liking a particular comment.
Use a database to store the likes for each comment
Implement a counter to keep track of the number of likes for each comment
Use a caching mechanism to improve performance
Consider sharding or partitioning the data for scalability
Implement a search algorithm to find the millionth person
based on 1 interview
Interview experience
based on 1 review
Rating in categories
Software Engineer
432
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Software Engineer
289
salaries
| ₹0 L/yr - ₹0 L/yr |
Technical Support Engineer
272
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Technical Support Engineer
139
salaries
| ₹0 L/yr - ₹0 L/yr |
Principal Software Engineer
132
salaries
| ₹0 L/yr - ₹0 L/yr |
RUBRIK INDIA
Druva
Veeam Software
CommVault