Filter interviews by
Binary search is an efficient algorithm for finding an item in a sorted array by repeatedly dividing the search interval in half.
Sorted Array Requirement: Binary search only works on arrays that are sorted in ascending or descending order.
Divide and Conquer: The algorithm divides the array into halves, eliminating one half from consideration based on the comparison with the middle element.
Time Complexity: The time...
Use binary search to find the maximum value where an API call does not return an error, optimizing the search space efficiently.
Define the search space: Start with a range, e.g., 0 to N, where N is a known upper limit for the API calls.
Implement binary search: Check the middle value of the current range. If the API call succeeds, move to the upper half; if it fails, move to the lower half.
Continue narrowing the ra...
Searching in a rotated sorted array involves finding a target value efficiently using binary search techniques.
Rotated Array: The array is sorted but then rotated at some pivot, e.g., [4, 5, 6, 7, 0, 1, 2] is rotated at 7.
Binary Search: Use binary search to find the target, adjusting the search range based on the rotation point.
Identify Rotation: Determine which half of the array is sorted to decide where to searc...
BFS (Breadth First Search) algorithm pseudo code
Start by enqueueing the starting node
While the queue is not empty, dequeue a node and process it
Enqueue all adjacent nodes that have not been visited yet
Repeat until all nodes have been visited
What people are saying about Samsung Research
To find the middle of a linked list, use the slow and fast pointer technique.
Initialize two pointers, slow and fast, both pointing to the head of the linked list.
Move the slow pointer by one step and the fast pointer by two steps until the fast pointer reaches the end of the list.
The position of the slow pointer at this point will be the middle of the linked list.
Depth First Search (DFS) pseudo code
Initialize a stack to keep track of nodes to visit
Start with the initial node and push it onto the stack
While the stack is not empty, pop a node from the stack and visit its neighbors
Push unvisited neighbors onto the stack
Repeat until all nodes are visited
Determine the optimal time to buy and sell stocks for maximum profit using a single transaction.
Identify the lowest price before a peak: Buy at $100, sell at $150 for a profit of $50.
Track price trends: If prices consistently rise, consider buying early and selling later.
Use algorithms: Implement a solution that iterates through prices to find the best buy-sell pair.
Consider edge cases: If prices only decrease, th...
Dijkstra's algorithm finds the shortest path in a graph from a starting node to all other nodes.
Use a priority queue to keep track of the shortest distance to each node
Initialize distances to all nodes as infinity except the starting node as 0
Iterate through all nodes and update distances if a shorter path is found
Repeat until all nodes are visited and shortest paths are calculated
Dry run on a sample test involves mentally executing the code to understand its flow and output.
Understand the code logic and variables
Step through each line of code
Keep track of variable values at each step
Predict the output based on the code execution
Pointers in C are variables that store the memory address of another variable.
Pointers are declared using the * symbol.
They can be used to access and manipulate data stored in memory.
Pointers can be used to pass values by reference.
Example: int *ptr; ptr = # *ptr = 10; // num now equals 10
Arrays in C are also implemented using pointers.
I applied via Walk-in and was interviewed in Oct 2024. There was 1 interview round.
I applied via Job Portal and was interviewed in Jul 2024. There were 2 interview rounds.
I am a Senior Engineer with 10+ years of experience in designing and implementing complex systems.
10+ years of experience in engineering
Specialize in designing and implementing complex systems
Strong problem-solving skills
Experience with various programming languages such as Java, Python, and C++
Designed and implemented a cloud-based data analytics platform for real-time monitoring of industrial equipment performance.
Led a team of 5 engineers in developing the platform from scratch
Utilized AWS services such as Lambda, S3, and DynamoDB for data storage and processing
Implemented machine learning algorithms for predictive maintenance
Integrated with existing industrial IoT devices for data collection
Achieved 20% r...
3h test with 1question
Basic aptitude and few core concepts like dsa, oops, java, ML
I applied via Campus Placement and was interviewed in Sep 2023. There were 3 interview rounds.
It was a 3 hr long coding test, where 1-2 question may be asked based on scenarios, question will be medium level, but should pass all the test cases,
Dijkstra's algorithm finds the shortest path in a graph from a starting node to all other nodes.
Use a priority queue to keep track of the shortest distance to each node
Initialize distances to all nodes as infinity except the starting node as 0
Iterate through all nodes and update distances if a shorter path is found
Repeat until all nodes are visited and shortest paths are calculated
Dry run on a sample test involves mentally executing the code to understand its flow and output.
Understand the code logic and variables
Step through each line of code
Keep track of variable values at each step
Predict the output based on the code execution
3hr Coding round, 1 Graph Question
I appeared for an interview before May 2024, where I was asked the following questions.
Binary search is an efficient algorithm for finding an item in a sorted array by repeatedly dividing the search interval in half.
Sorted Array Requirement: Binary search only works on arrays that are sorted in ascending or descending order.
Divide and Conquer: The algorithm divides the array into halves, eliminating one half from consideration based on the comparison with the middle element.
Time Complexity: The time comp...
Searching in a rotated sorted array involves finding a target value efficiently using binary search techniques.
Rotated Array: The array is sorted but then rotated at some pivot, e.g., [4, 5, 6, 7, 0, 1, 2] is rotated at 7.
Binary Search: Use binary search to find the target, adjusting the search range based on the rotation point.
Identify Rotation: Determine which half of the array is sorted to decide where to search nex...
Use binary search to find the maximum value where an API call does not return an error, optimizing the search space efficiently.
Define the search space: Start with a range, e.g., 0 to N, where N is a known upper limit for the API calls.
Implement binary search: Check the middle value of the current range. If the API call succeeds, move to the upper half; if it fails, move to the lower half.
Continue narrowing the range: ...
I applied via Campus Placement and was interviewed in Jun 2023. There were 3 interview rounds.
There are 2 questions on hackerearth related to graph cut edge and cut vertices and similar one .
I applied via LinkedIn and was interviewed in Jan 2024. There were 2 interview rounds.
It was a very basic round
Leetcode medium level questions were asked.
The duration of Samsung Research interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 16 interview experiences
Difficulty level
Duration
based on 1.1k reviews
Rating in categories
Software Engineer
1.7k
salaries
| ₹7.6 L/yr - ₹22 L/yr |
Lead Engineer
633
salaries
| ₹10 L/yr - ₹43.5 L/yr |
Senior Software Engineer
596
salaries
| ₹8.5 L/yr - ₹32.5 L/yr |
Chief Engineer
397
salaries
| ₹15 L/yr - ₹62 L/yr |
Engineer
330
salaries
| ₹6.5 L/yr - ₹25 L/yr |
vivo
OPPO
LG Electronics
Bajaj Electricals