Filter interviews by
posted on 3 Dec 2015
I applied via Campus Placement
I applied via Campus Placement
I applied via Campus Placement
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
Count the number of '-' characters in a string and return 1 if it matches the given number, else return 0.
Use a loop to iterate through each character in the string and count the number of '-' characters.
Compare the count with the given number and return 1 if they match, else return 0.
Handle edge cases such as empty string or negative number input.
Functions to create and delete nodes in a stack
To create a stack, initialize a top pointer to null
To push a node, create a new node and set its next to the current top, then set top to the new node
To pop a node, set top to its next and return the popped node
To delete the stack, pop all nodes until top is null
Code for producer-consumer problem using mutex
Create a shared buffer with a fixed size
Create a mutex to control access to the buffer
Create a semaphore to keep track of the number of items in the buffer
Create a producer thread that adds items to the buffer
Create a consumer thread that removes items from the buffer
Use mutex to lock the buffer while adding or removing items
Use semaphore to signal when the buffer is full o
Mutex and Semaphore are synchronization primitives used in multi-threaded environments.
Mutex is used to provide mutual exclusion to a shared resource, allowing only one thread to access it at a time.
Semaphore is used to control access to a shared resource, allowing multiple threads to access it at a time.
Mutex is binary, meaning it has only two states - locked and unlocked, while Semaphore can have multiple states.
Mute...
Virtual addressing is a memory management technique that allows a process to use a range of memory addresses independent of physical memory.
Virtual addresses are mapped to physical addresses by the memory management unit (MMU)
Virtual addresses are allocated to a process during its execution
Virtual addressing allows for efficient use of physical memory by allowing multiple processes to share the same physical memory
Exam...
Deadlock is a situation where two or more processes are unable to proceed because they are waiting for each other to release resources.
Prevent deadlock by using a proper resource allocation strategy
Avoid holding onto resources for too long
Use timeouts to release resources if they are not being used
Implement a deadlock detection and recovery mechanism
Avoid circular wait by imposing a total ordering of all resource types
Program to find the only duplicate in an array
Create a hash set to store elements as they are encountered
If an element is already in the hash set, it is a duplicate
Return the duplicate element
Virtual memory is still needed even with large physical memory. Paging helps manage memory efficiently.
Virtual memory allows for larger programs to run than physical memory can handle
Paging helps manage memory efficiently by swapping out unused pages to disk
Virtual memory also allows for memory protection and sharing between processes
Examples of programs that require virtual memory include video editing software and la
To find the middle of a linked list, use two pointers - one moving at twice the speed of the other.
Initialize two pointers - slow and fast
Move the slow pointer one step at a time and the fast pointer two steps at a time
When the fast pointer reaches the end of the list, the slow pointer will be at the middle
Time complexity of building a heap using linked list and arrays
Building a heap using linked list takes O(nlogn) time complexity
Building a heap using arrays takes O(n) time complexity
Linked list implementation is slower than array implementation
based on 1 interview
Interview experience
Software Technologist 1
204
salaries
| ₹10 L/yr - ₹31.2 L/yr |
Software Engineer
188
salaries
| ₹5.8 L/yr - ₹21.3 L/yr |
Software Technologist 2
179
salaries
| ₹16 L/yr - ₹38.6 L/yr |
Deputy Manager
159
salaries
| ₹8.5 L/yr - ₹27 L/yr |
Senior Accounting Specialist
158
salaries
| ₹5.8 L/yr - ₹19 L/yr |
Siemens
GE Healthcare
Honeywell Automation
Bosch