Filter interviews by
Detecting a loop in a linked list
Use two pointers, one moving at double the speed of the other
If there is a loop, the two pointers will eventually meet
Use Floyd's Cycle Detection Algorithm for efficient solution
Reversing a linked list involves changing the direction of the pointers between nodes.
Iterative approach: Use three pointers (prev, current, next) to reverse the links.
Example: For list 1 -> 2 -> 3, after reversal it becomes 3 -> 2 -> 1.
Recursive approach: Reverse the rest of the list and adjust the pointers.
Example: For list 4 -> 5 -> 6, recursively reverse to get 6 -> 5 -> 4.
A junction point in a Y-type linked list is where two linked lists converge into one.
A Y-type linked list consists of two separate linked lists that merge at a common node.
The junction point is the node where the two lists meet, allowing traversal from either list.
Example: List A: 1 -> 2 -> 3; List B: 4 -> 5; Junction at node 6: 3 -> 6 -> 7 -> 8.
To find the junction point, you can use two pointer...
I want to join Samsung to contribute to innovative technology, work in a dynamic environment, and grow alongside industry leaders.
Samsung is a leader in technology innovation, and I want to be part of that cutting-edge environment.
The company's commitment to sustainability aligns with my values, and I want to contribute to eco-friendly projects.
Working at Samsung offers opportunities for professional growth and de...
The height of a tree is the number of edges on the longest path from the root to a leaf node.
Height is defined as the number of edges in the longest path from the root to a leaf.
For a single node tree, the height is 0.
Example: In a tree with root and two children, height = 1.
A complete binary tree of height h has 2^(h+1) - 1 nodes.
Implement the game of Snakes and Ladders on LeetCode.
Use a 1D array to represent the board of the game.
Use a queue to perform BFS to find the shortest path to reach the end.
Handle the special cases of snakes and ladders by updating the position accordingly.
Implementing a search feature that filters app names based on user input in real-time.
Use a list or array to store app names like ['Settings', 'Samsung Wallet', 'Search', 'Security'].
Implement a function that takes user input and filters the app list based on the input string.
For example, if input is 'S', return ['Settings', 'Samsung Wallet', 'Search'].
If input is 'SE', return ['Settings', 'Security'].
Spark architecture is a distributed computing system that provides high-level APIs for big data processing.
Spark architecture consists of a cluster manager, a distributed storage system, and a computing engine.
Data in Spark is represented as Resilient Distributed Datasets (RDDs) or DataFrames.
Spark supports various data models, including batch processing, streaming, machine learning, and graph processing.
Spark's a...
Balloon Burst Problem - Given n balloons, each with a number of coins, maximize the number of coins collected by bursting the balloons.
Use dynamic programming to solve the problem
Consider each balloon as the last balloon to be burst
Calculate the maximum coins that can be collected for each subarray of balloons
Use the calculated values to find the maximum coins for the entire array
Quick sort is a divide and conquer algorithm that sorts an array by partitioning it into two sub-arrays.
Choose a pivot element from the array
Partition the array around the pivot element
Recursively apply the above steps to the sub-arrays
Combine the sorted sub-arrays to get the final sorted array
Implement the game of Snakes and Ladders on LeetCode.
Use a 1D array to represent the board of the game.
Use a queue to perform BFS to find the shortest path to reach the end.
Handle the special cases of snakes and ladders by updating the position accordingly.
I applied via Campus Placement and was interviewed in Feb 2024. There were 4 interview rounds.
In-person test in their office at Chennai
Hackerrank easy - medium difficulty
It was 1 hour online coding test in which there were 3 coding questions on basic DSA
Advanced DSA test of 4 hours containing 1 question
I want to join Samsung to contribute to innovative technology and be part of a global leader in electronics and software development.
Samsung is at the forefront of technological innovation, constantly pushing boundaries in areas like AI and IoT.
The opportunity to work on cutting-edge products, such as smartphones and smart home devices, excites me.
Samsung's commitment to sustainability aligns with my values, and I want...
Coding questions were given to solve in a time frame
They were asked on linked list merge
1 medium level question on DP. Need to run all the test cases to pass.
3 hours one question
Top trending discussions
Some of the top questions asked at the Samsung Software Engineer interview -
The duration of Samsung Software Engineer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 21 interview experiences
Difficulty level
Duration
based on 138 reviews
Rating in categories
Assistant Manager
1k
salaries
| ₹9.3 L/yr - ₹15.1 L/yr |
Software Engineer
949
salaries
| ₹11.6 L/yr - ₹20 L/yr |
Sales Executive
893
salaries
| ₹1.8 L/yr - ₹5.5 L/yr |
Manager
520
salaries
| ₹15.5 L/yr - ₹28.3 L/yr |
Senior Engineer
470
salaries
| ₹7.9 L/yr - ₹14.7 L/yr |
Apple
vivo
OPPO
Dell