Filter interviews by
Be the first one to contribute and help others!
I applied via Naukri.com and was interviewed before Jun 2021. There were 2 interview rounds.
Networking and linux internals
I appeared for an interview before Jan 2021.
Round duration - 120 Minutes
Round difficulty - Hard
This round had 3 preety good questions to be solved under 2 hours . The first question was from Graphs and DSU , the second question was related to DP and the third one was from Recursion.
On a 2-D plane, there are ‘N’ stones placed at some integer coordinate points. Each coordinate point can have at most one stone. A stone can be removed if it sh...
Given a 2-D plane with stones at integer coordinate points, find the maximum number of stones that can be removed by sharing the same row or column.
Iterate through the stones and create a graph where stones in the same row or column are connected.
Use depth-first search (DFS) to find connected components in the graph.
The maximum number of stones that can be removed is the total number of stones minus the number of conne
You are provided with a gold mine, represented as a 2-dimensional matrix of size N x M with N rows and M columns. Each cell in this matrix contains a positive integer represent...
The task is to determine the maximum amount of gold a miner can collect by moving in allowed directions in a gold mine represented as a 2D matrix.
Create a 2D DP array to store the maximum gold collected at each cell
Iterate through the matrix from left to right and update the DP array based on the allowed directions
Return the maximum value in the last column of the DP array as the final result
Given a positive integer N
, generate all possible sequences of balanced parentheses using N
pairs of parentheses.
A sequence of brackets is called bala...
Generate all possible sequences of balanced parentheses using N pairs of parentheses.
Use backtracking to generate all possible combinations of balanced parentheses.
Keep track of the number of opening and closing parentheses used.
Add opening parentheses if there are remaining, and add closing parentheses only if there are more opening parentheses than closing.
Recursively generate all valid combinations.
Return the list o
Round duration - 60 Minutes
Round difficulty - Medium
This round had 2 questions from DSA. Both the questions were preety straightforward and were asked to check my implementation skills and how well do I handle Edge Cases for tricky problems.
Develop a Stack Data Structure to store integer values using two Queues internally.
Your stack implementation should provide these public functions:
Implement a stack using two queues to store integer values.
Use two queues to simulate stack operations: push elements to one queue, then move all elements to the other queue to simulate pop and top operations.
Maintain the size of the stack and check for empty stack using the size of the queues.
Handle edge cases such as popping or getting top element from an empty stack.
Ensure the implementation follows the specified pu...
Given a square matrix 'MATRIX' of non-negative integers, rotate the matrix by 90 degrees in an anti-clockwise direction using only constant extra space.
Rotate a square matrix by 90 degrees in an anti-clockwise direction using constant extra space.
Iterate through each layer of the matrix and swap elements in groups of 4
Transpose the matrix and then reverse each row to achieve the rotation
Ensure to handle edge cases like odd-sized matrices
Round duration - 60 Minutes
Round difficulty - Medium
This round also had 2 questions related to DSA where I was first expected to explain my approaches and then discuss the time and space complexities of my solution. After that , I was asked some core concepts related to OOPS and OS.
Given an array ARR
consisting of N
integers, find all distinct triplets in the array that add up to a given number K
.
T = 2
N = 5
ARR = [1, 2, 3, 4, 5]
K = 9
N = 4
...
Find all distinct triplets in an array that add up to a given number.
Use three nested loops to iterate through all possible triplets.
Sort the array first to easily skip duplicates.
Use two-pointer technique to find the remaining element for each triplet.
Handle edge cases like empty list or no triplet summing up to K.
You are given a long type array/list ARR
of size N
, representing an elevation map. The value ARR[i]
denotes the elevation of the ith
bar. Your task is to determine th...
Calculate the total amount of rainwater that can be trapped between given elevations in an array.
Iterate through the array and calculate the maximum height on the left and right of each bar.
Calculate the amount of water that can be trapped at each bar by taking the minimum of the maximum heights on the left and right.
Sum up the trapped water at each bar to get the total trapped water for the entire array.
Diamond Problem is a multiple inheritance issue in C++ where a class inherits from two classes that have a common base class.
Diamond Problem occurs when a class inherits from two classes that have a common base class, leading to ambiguity in accessing members.
It can be resolved in C++ using virtual inheritance, where the common base class is inherited virtually to avoid duplicate copies of base class members.
Example: c...
Thrashing in operating systems occurs when the system is spending more time swapping data between memory and disk than actually executing tasks.
Occurs when the system is constantly swapping data between memory and disk
Causes a decrease in system performance as it spends more time on swapping than executing tasks
Usually happens when the system does not have enough physical memory to handle the workload efficiently
Round duration - 30 Minutes
Round difficulty - Easy
This was my last round and I hoped it to go good just like the other rounds. The interviewer was very straight to point and professional. The interview lasted for 30 minutes.
Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.
Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.
I applied via Campus Placement and was interviewed in Dec 2016. There were 5 interview rounds.
I applied via Campus Placement and was interviewed in Dec 2016. There were 5 interview rounds.
The project is a web-based application for managing inventory and sales of a retail store.
Developed using Java and Spring framework
Includes features such as product management, order management, and customer management
Utilizes MySQL database for data storage
Implemented security measures such as authentication and authorization
Designed with a responsive user interface for optimal user experience
I am a software developer with a passion for coding and problem-solving. My hobbies include reading and playing video games.
Proficient in programming languages such as Java and Python
Strong problem-solving skills
Good communication and teamwork abilities
Weakness: Sometimes I tend to overthink and spend too much time on a problem
Hobbies: Reading books on technology and playing video games
I cannot make a commitment to staying at Samsung at this time.
I am open to exploring other opportunities
My decision will depend on various factors such as growth opportunities, work culture, and compensation
I value my time at Samsung and appreciate the experience gained
posted on 2 Dec 2016
I applied via Campus Placement and was interviewed in Dec 2016. There were 5 interview rounds.
DFS and BFS are two popular graph traversal algorithms used in computer science.
DFS stands for Depth First Search and explores as far as possible along each branch before backtracking.
BFS stands for Breadth First Search and explores all the vertices at the present depth before moving on to the next level.
DFS uses a stack data structure to keep track of visited nodes while BFS uses a queue.
DFS is useful for finding path...
Double pointers are used to store the address of a pointer variable.
Double pointers are useful in dynamic memory allocation.
They are used to modify the value of a pointer passed to a function.
They can be used to create linked lists and trees.
Example: int **ptr; //declares a double pointer to an integer
Permutations of an array
Permutations are all possible arrangements of elements in an array
Number of permutations for an array of length n is n!
Use recursion to generate all permutations
Swap elements to generate different permutations
My first biggest failure was not being able to clear an important exam in high school.
Failed to manage time effectively
Did not seek help from teachers or peers
Did not practice enough
Learned the importance of preparation and seeking help
Improved study habits and time management skills
I applied via Campus Placement and was interviewed in Dec 2016. There were 5 interview rounds.
I am a software developer with experience in Java and Python.
Graduated with a degree in Computer Science
Worked on multiple projects using Java and Python
Familiar with Agile methodology
Passionate about learning new technologies
My strength is problem-solving and attention to detail. My weakness is public speaking.
Strength: Strong problem-solving skills
Strength: Attention to detail
Weakness: Public speaking
Weakness: Difficulty with time management
I appeared for an interview in Nov 2016.
I appeared for an interview before Jun 2016.
I applied via Campus Placement
I applied via Campus Placement
Territory Manager
306
salaries
| ₹3 L/yr - ₹8 L/yr |
Senior Territory Manager
198
salaries
| ₹3.9 L/yr - ₹10.1 L/yr |
Sales Executive
167
salaries
| ₹0.7 L/yr - ₹5 L/yr |
Assistant Manager
146
salaries
| ₹3.8 L/yr - ₹10.9 L/yr |
Deputy Manager
129
salaries
| ₹5 L/yr - ₹14.6 L/yr |
Samsung
OPPO
LG Electronics
HARMAN