Samsung
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
Clear (1)
I was interviewed in Jul 2021.
Round duration - 60 minutes
Round difficulty - Medium
It was a 65 minute , 2 coding questions round .
The environment was good ,
The exam was at 12 noon
You are given a binary tree consisting of distinct integers and two nodes, X
and Y
. Your task is to find and return the Lowest Common Ancestor (LCA) of these two nodes...
Find the Lowest Common Ancestor of two nodes in a binary tree.
Traverse the binary tree to find the paths from the root to nodes X and Y.
Compare the paths to find the last common node, which is the Lowest Common Ancestor.
Implement a recursive function to find the LCA efficiently.
Handle edge cases such as when X or Y is the root node or when X or Y is not present in the tree.
Given a Directed Acyclic Graph (DAG) consisting of V
vertices and E
edges, your task is to find any topological sorting of this DAG. You need to return an array of size ...
Topological sort of a Directed Acyclic Graph (DAG) is finding an ordering of vertices where for every directed edge u -> v, u comes before v.
Use Depth First Search (DFS) to find the topological ordering of vertices in a DAG.
Start by visiting a vertex and recursively visit its neighbors, adding the vertex to the result after visiting all neighbors.
Maintain a visited array to keep track of visited vertices and a stack...
Round duration - 50 minutes
Round difficulty - Medium
The round was based more upon the OS , DBMS , Networking and Computer Architecture and web based.
Is the tag and tag same? Define Image Map?
Yes, a singleton class is a class that can only have one instance created.
Ensure the constructor is private to prevent external instantiation.
Provide a static method to access the single instance.
Use a static variable to hold the single instance.
Example: class Singleton { private static Singleton instance = new Singleton(); private Singleton(){} public static Singleton getInstance() { return instance; }}
Round duration - 50 Minutes
Round difficulty - Medium
The round included topics of DSA , OS , OOPS , CN and dbms and a lot about my internship experience.
What are the different data types present in javascript? What are some common clauses used with SELECT query in SQL? What is Cursor? How to use a Cursor?
Given an integer array with N elements, the task is to transform this array into a max binary heap structure.
A max-heap is a complete binary tree where eac...
The task is to transform an integer array into a max binary heap structure.
Create a max heap from the given array by rearranging elements
Ensure each internal node has a value greater than or equal to its children
Check if the transformed array represents a max-heap and output 1 if true, 0 if false
Tip 1 : Be patient and give yourself at least 10 months of dedicated placement preparation time
Tip 2 : OOPS and DBMS are topics that people do not prepare well but they are asked in the interviews alot . So prepare them well
Tip 3 : Start dedicated CP once you are confident upon your DSA skills .
Tip 1 : Do not mention irrelevant achievements
Tip 2 : Strictly make 1 page resume and also mention skills added/learnt from your internships and trainings
I was interviewed in Sep 2021.
Round duration - 180 Minutes
Round difficulty - Medium
It is a coding round that contains only 1 coding problem, and the timing for this test is 10 A.M. to 1 A.M. The test is on full-screen mode. You can choose Java or Cpp as a language to code the particular problem. The problem contains 50 test cases and you have only 10 chances to submit your code. The interviewer was very friendly.
Determine the minimum time required to travel from a starting point to a destination point in a two-dimensional coordinate system, considering both direct movement and the...
Calculate minimum time to travel from source to destination using direct movement and wormholes.
Calculate the time to move directly from source to destination using |dx - sx| + |dy - sy| formula.
Check if using any wormhole reduces the total travel time.
Consider all possible combinations of direct movement and wormhole usage to find the minimum time.
Round duration - 90 Minutes
Round difficulty - Easy
In this round lot of questions from the topics core java, java backend, react, and node js. The timing of this round is 10 A.M. to 11:30 A.M. The interviewer was very friendly.
Tip 1 : Do projects which are easy to explain and contains different concepts.
Tip 2 : Focus more on the logical part rather than doing a lot of projects.
Tip 3 : Do not write anything false on your resume.
Tip 1 : Keep it short and clean.
Tip 2 : Highlights your strength.
Tip 3 : Give a GitHub link to your project.
Top trending discussions
I was interviewed in May 2017.
String is immutable because it ensures data integrity and allows for efficient memory management.
Immutable strings prevent accidental modification of data.
Immutable strings can be easily shared and reused, improving memory efficiency.
Immutable strings enable efficient string interning and caching.
Immutable strings support thread safety in concurrent environments.
Yes, @RequestParam has a default value if not specified.
If a @RequestParam is not provided in the request, it will use its default value.
The default value can be set using the 'defaultValue' attribute of @RequestParam annotation.
If no default value is specified, the parameter will be considered as required and an exception will be thrown if not provided.
Abstract classes are required to provide a common interface and share code among related classes.
Abstract classes allow for code reusability and promote modular design.
They provide a common interface for a group of related classes.
Abstract classes can define abstract methods that must be implemented by subclasses.
They can also provide default implementations for common methods.
Abstract classes cannot be instantiated, b
I was interviewed in Oct 2016.
My hobbies include hiking, playing guitar, and cooking.
Hiking: I enjoy exploring nature trails and challenging myself physically.
Playing guitar: I love learning new songs and improving my skills.
Cooking: I like experimenting with different recipes and creating delicious meals.
In 5 years, I see myself as a senior software developer leading a team and working on complex projects.
Leading a team of developers
Working on complex projects
Continuously learning and improving my skills
Contributing to the growth and success of the company
I want to join DELL because of their innovative technology solutions and strong reputation in the industry.
DELL is known for their cutting-edge technology solutions which align with my passion for software development.
I admire DELL's strong reputation in the industry and their commitment to customer satisfaction.
I believe joining DELL will provide me with opportunities for growth and career advancement.
I was interviewed in Jan 2017.
I applied via Approached by Company and was interviewed in Oct 2022. There were 2 interview rounds.
Method for deleting a node from a Linked List
Find the node to be deleted
Update the previous node's next pointer to skip the deleted node
Free the memory occupied by the deleted node
No, it is not possible in Java due to circular inheritance.
Circular inheritance is not allowed in Java.
It creates an infinite loop and leads to compile-time errors.
To avoid this, inheritance hierarchy should be designed carefully.
Example: Class A extends B, B extends C, and C extends D.
This creates a linear inheritance hierarchy and is allowed in Java.
Creating a custom immutable class in Java
Make the class final
Make all fields private and final
Do not provide any setter methods
Provide a constructor to initialize all fields
Override equals() and hashCode() methods
Prevent modification of mutable objects passed in constructor
Code to check if two strings are anagrams of each other.
Create two character arrays from the strings
Sort the arrays
Compare the sorted arrays
Time complexity of linked list operations is O(n) for traversal, insertion and deletion.
Traversal, insertion and deletion in linked lists take linear time.
Insertion and deletion at the beginning of the list is faster than at the end.
Doubly linked lists have slightly higher time complexity due to maintaining two pointers.
I applied via Approached by Company and was interviewed before Aug 2021. There were 3 interview rounds.
C++ & C Based Questions Mostly from Arrays, Linked List, Queues
To reverse a string, iterate through the string and append each character to a new string in reverse order.
Create an empty string to store the reversed string
Iterate through the original string from the end to the beginning
Append each character to the new string
Return the new string
A pn junction diode is a semiconductor device that allows current to flow in one direction only.
Consists of p-type and n-type semiconductor materials
When forward biased, allows current to flow easily
When reverse biased, blocks current flow
I applied via Naukri.com and was interviewed before Jul 2020. There were 4 interview rounds.
I applied via Naukri.com and was interviewed before Jun 2021. There were 2 interview rounds.
Networking and linux internals
based on 1 interview
Interview experience
based on 1 review
Rating in categories
Sales Executive
1.1k
salaries
| ₹0 L/yr - ₹0 L/yr |
Assistant Manager
959
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Engineer
871
salaries
| ₹0 L/yr - ₹0 L/yr |
Manager
526
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Engineer
481
salaries
| ₹0 L/yr - ₹0 L/yr |
Apple
LG Electronics
Sony
Xiaomi