Upload Button Icon Add office photos

Samsung

Compare button icon Compare button icon Compare

Filter interviews by

Samsung Frontend Developer Intern Interview Questions and Answers

Updated 11 Mar 2022

9 Interview questions

🔥 Asked by recruiter 2 times
A Frontend Developer Intern was asked
Q. 

Rat in a Maze Problem Statement

You need to determine all possible paths for a rat starting at position (0, 0) in a square maze to reach its destination at (N-1, N-1). The maze is represented as an N*N mat...

Ans. 

Find all possible paths for a rat in a maze from source to destination.

  • Use backtracking to explore all possible paths in the maze.

  • Keep track of visited cells to avoid revisiting them.

  • Recursively move in all directions (up, down, left, right) until reaching the destination.

  • Return the list of valid paths sorted in alphabetical order.

A Frontend Developer Intern was asked
Q. What is a process in an operating system?
Ans. 

A process in an operating system is an instance of a program that is being executed.

  • A process is a unit of execution within an operating system.

  • Each process has its own memory space, resources, and state.

  • Processes can communicate with each other through inter-process communication.

  • Examples of processes include web browsers, word processors, and media players.

Frontend Developer Intern Interview Questions Asked at Other Companies

Q1. Last Stone Weight Problem Explanation Given a collection of stone ... read more
asked in Samsung
Q2. Reverse Linked List Problem Statement Given a singly linked list ... read more
asked in Samsung
Q3. Cousins of a Given Node in a Binary Tree Given a binary tree with ... read more
asked in Trell
Q4. Find the Second Largest Element Given an array or list of integer ... read more
asked in Samsung
Q5. Maximum Sum Path in a Binary Tree Your task is to determine the m ... read more
🔥 Asked by recruiter 2 times
A Frontend Developer Intern was asked
Q. 

Cousins of a Given Node in a Binary Tree

Given a binary tree with 'N' nodes and a specific node in this tree, you need to determine and return a sorted list of the values of the node's cousins. The cousins...

Ans. 

Given a binary tree and a specific node, return a sorted list of the values of the node's cousins.

  • Traverse the binary tree to find the parent of the given node and its depth.

  • Traverse the tree again to find nodes at the same depth but with different parents.

  • Return the sorted list of cousin node values or -1 if no cousins exist.

🔥 Asked by recruiter 2 times
A Frontend Developer Intern was asked
Q. 

Gold Mine Problem Statement

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 representi...

Ans. 

The task is to determine the maximum amount of gold a miner can collect by moving in allowed directions in a 2D gold mine matrix.

  • Create a function that takes the gold mine matrix and dimensions as input

  • Implement a dynamic programming approach to find the maximum amount of gold that can be collected

  • Consider the constraints and optimize the solution for efficiency

  • Traverse the matrix from left to right, calculating t...

A Frontend Developer Intern was asked
Q. Can you describe the four pillars of Object-Oriented Programming (OOP)?
Ans. 

The four pillars of OOP are encapsulation, inheritance, polymorphism, and abstraction.

  • Encapsulation: Bundling data and methods that operate on the data into a single unit.

  • Inheritance: Allowing a new class to inherit properties and behaviors from an existing class.

  • Polymorphism: The ability for objects of different classes to respond to the same message in different ways.

  • Abstraction: Hiding the complex implementatio...

🔥 Asked by recruiter 5 times
A Frontend Developer Intern was asked
Q. 

Reverse Linked List Problem Statement

Given a singly linked list of integers, return the head of the reversed linked list.

Example:

Initial linked list: 1 -> 2 -> 3 -> 4 -> NULL
Reversed linke...
Ans. 

Reverse a singly linked list of integers and return the head of the reversed linked list.

  • Iterate through the linked list and reverse the pointers to point to the previous node instead of the next node.

  • Use three pointers to keep track of the current, previous, and next nodes while reversing the linked list.

  • Update the head of the reversed linked list as the last node encountered during the reversal process.

🔥 Asked by recruiter 2 times
A Frontend Developer Intern was asked
Q. 

Trie Data Structure Implementation

Design and implement a Trie (prefix tree) to perform the following operations:

  • insert(word): Add a string "word" to the Trie.
  • search(word): Verify if the string "wo...
Ans. 

Implement a Trie data structure to insert, search, and determine if a string starts with a given prefix.

  • Create a TrieNode class with children and isEndOfWord attributes.

  • Implement insert() to add words by traversing the Trie.

  • Implement search() to check if a word exists by traversing the Trie.

  • Implement startsWith() to check if any word starts with a given prefix.

  • Use lowercase English letters a-z for words.

  • Handle que...

Are these interview questions helpful?
A Frontend Developer Intern was asked
Q. 

Maximum Sum Path in a Binary Tree

Your task is to determine the maximum possible sum of a simple path between any two nodes (possibly the same) in a given binary tree of 'N' nodes with integer values.

Exp...

Ans. 

Find the maximum sum of a simple path between any two nodes in a binary tree.

  • Use a recursive approach to traverse the binary tree and calculate the maximum sum path.

  • Keep track of the maximum sum path found so far while traversing the tree.

  • Consider all possible paths between any two nodes in the tree to find the maximum sum.

🔥 Asked by recruiter 2 times
A Frontend Developer Intern was asked
Q. 

Remove Consecutive Duplicates Problem Statement

Given a string str of size N, your task is to recursively remove consecutive duplicates from this string.

Input:

T (number of test cases)
N (length of the s...
Ans. 

Recursively remove consecutive duplicates from a given string.

  • Iterate through the string and remove consecutive duplicates using recursion.

  • Keep track of the current character and compare it with the next character.

  • If they are the same, remove the next character and continue recursively until no consecutive duplicates are left.

Samsung Frontend Developer Intern Interview Experiences

1 interview found

I appeared for an interview before Mar 2021.

Round 1 - Coding Test 

(3 Questions)

Round duration - 70 Minutes
Round difficulty - Medium

This online coding round, consisted of 3 DSA problems and we were supposed to solve them in 70 mins. 
Programming Languages allowed: C, C++, JAVA
Note: Python was not available.

  • Q1. 

    Cousins of a Given Node in a Binary Tree

    Given a binary tree with 'N' nodes and a specific node in this tree, you need to determine and return a sorted list of the values of the node's cousins. The cousin...

  • Ans. 

    Given a binary tree and a specific node, return a sorted list of the values of the node's cousins.

    • Traverse the binary tree to find the parent of the given node and its depth.

    • Traverse the tree again to find nodes at the same depth but with different parents.

    • Return the sorted list of cousin node values or -1 if no cousins exist.

  • Answered by AI
  • Q2. 

    Maximum Sum Path in a Binary Tree

    Your task is to determine the maximum possible sum of a simple path between any two nodes (possibly the same) in a given binary tree of 'N' nodes with integer values.

    Ex...

  • Ans. 

    Find the maximum sum of a simple path between any two nodes in a binary tree.

    • Use a recursive approach to traverse the binary tree and calculate the maximum sum path.

    • Keep track of the maximum sum path found so far while traversing the tree.

    • Consider all possible paths between any two nodes in the tree to find the maximum sum.

  • Answered by AI
  • Q3. 

    Gold Mine Problem Statement

    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...

  • Ans. 

    The task is to determine the maximum amount of gold a miner can collect by moving in allowed directions in a 2D gold mine matrix.

    • Create a function that takes the gold mine matrix and dimensions as input

    • Implement a dynamic programming approach to find the maximum amount of gold that can be collected

    • Consider the constraints and optimize the solution for efficiency

    • Traverse the matrix from left to right, calculating the ma...

  • Answered by AI
Round 2 - Face to Face 

(4 Questions)

Round duration - 45 Minutes
Round difficulty - Medium

This was the first technical round and those who cleared the online coding assessment round were eligible for this round. This round consisted of questions from DSA, CS Fundamentals, my projects and questions related to frontend.
What are the various formatting tags in HTML? What is DOM? What is the significance of and tag in HTML?

  • Q1. 

    Remove Consecutive Duplicates Problem Statement

    Given a string str of size N, your task is to recursively remove consecutive duplicates from this string.

    Input:

    T (number of test cases)
    N (length of the ...
  • Ans. 

    Recursively remove consecutive duplicates from a given string.

    • Iterate through the string and remove consecutive duplicates using recursion.

    • Keep track of the current character and compare it with the next character.

    • If they are the same, remove the next character and continue recursively until no consecutive duplicates are left.

  • Answered by AI
  • Q2. 

    Reverse Linked List Problem Statement

    Given a singly linked list of integers, return the head of the reversed linked list.

    Example:

    Initial linked list: 1 -> 2 -> 3 -> 4 -> NULL
    Reversed link...
  • Ans. 

    Reverse a singly linked list of integers and return the head of the reversed linked list.

    • Iterate through the linked list and reverse the pointers to point to the previous node instead of the next node.

    • Use three pointers to keep track of the current, previous, and next nodes while reversing the linked list.

    • Update the head of the reversed linked list as the last node encountered during the reversal process.

  • Answered by AI
  • Q3. 

    Trie Data Structure Implementation

    Design and implement a Trie (prefix tree) to perform the following operations:

    • insert(word): Add a string "word" to the Trie.
    • search(word): Verify if the string "w...
  • Ans. 

    Implement a Trie data structure to insert, search, and determine if a string starts with a given prefix.

    • Create a TrieNode class with children and isEndOfWord attributes.

    • Implement insert() to add words by traversing the Trie.

    • Implement search() to check if a word exists by traversing the Trie.

    • Implement startsWith() to check if any word starts with a given prefix.

    • Use lowercase English letters a-z for words.

    • Handle queries ...

  • Answered by AI
  • Q4. What is a process in an operating system?
  • Ans. 

    A process in an operating system is an instance of a program that is being executed.

    • A process is a unit of execution within an operating system.

    • Each process has its own memory space, resources, and state.

    • Processes can communicate with each other through inter-process communication.

    • Examples of processes include web browsers, word processors, and media players.

  • Answered by AI
Round 3 - Face to Face 

(2 Questions)

Round duration - 45 Minutes
Round difficulty - Medium

This was the second technical round and those who cleared the previous interview round were eligible for this round. This round consisted of questions from DSA, CS Fundamentals majorly OOPS, and my projects. How can we club two or more rows or columns into a single row or column in an HTML table?

  • Q1. 

    Rat in a Maze Problem Statement

    You need to determine all possible paths for a rat starting at position (0, 0) in a square maze to reach its destination at (N-1, N-1). The maze is represented as an N*N ma...

  • Ans. 

    Find all possible paths for a rat in a maze from source to destination.

    • Use backtracking to explore all possible paths in the maze.

    • Keep track of visited cells to avoid revisiting them.

    • Recursively move in all directions (up, down, left, right) until reaching the destination.

    • Return the list of valid paths sorted in alphabetical order.

  • Answered by AI
  • Q2. Can you describe the four pillars of Object-Oriented Programming (OOP)?
  • Ans. 

    The four pillars of OOP are encapsulation, inheritance, polymorphism, and abstraction.

    • Encapsulation: Bundling data and methods that operate on the data into a single unit.

    • Inheritance: Allowing a new class to inherit properties and behaviors from an existing class.

    • Polymorphism: The ability for objects of different classes to respond to the same message in different ways.

    • Abstraction: Hiding the complex implementation det...

  • Answered by AI

Interview Preparation Tips

Professional and academic backgroundI completed Computer Science Engineering from National Institute of Technology Delhi (New Campus). I applied for the job as Frontend Developer Intern in BangaloreEligibility criteria7.5 CGPASamsung interview preparation:Topics to prepare for the interview - Data Structures and Algorithms, OOPS, Spring, Operating Systems, Computer Networks, Design PatternsTime required to prepare for the interview - 2 MonthsInterview preparation tips for other job seekers

Tip 1 : You should be proficient in one of the 2 languages: C++, Java
Tip 2 : For each of the 4 pillars of OOPS, focus on 4 important aspects i.e. definition, use case, real-world eg., advantages.
Tip 3 : Learn about general design patterns like, Singelton, Factory, Builder etc.

Application resume tips for other job seekers

Tip 1 : Mentions your past experiences.
Tip 2 : Mention at least 2 projects.

Final outcome of the interviewSelected

Skills evaluated in this interview

Top trending discussions

View All
Interview Tips & Stories
1w (edited)
a team lead
Why are women still asked such personal questions in interview?
I recently went for an interview… and honestly, m still trying to process what just happened. Instead of being asked about my skills, experience, or how I could add value to the company… the questions took a totally unexpected turn. The interviewer started asking things like When are you getting married? Are you engaged? And m sure, if I had said I was married, the next question would’ve been How long have you been married? What does my personal life have to do with the job m applying for? This is where I felt the gender discrimination hit hard. These types of questions are so casually thrown at women during interviews but are they ever asked to men? No one asks male candidates if they’re planning a wedding or how old their kids are. So why is it okay to ask women? Can we please stop normalising this kind of behaviour in interviews? Our careers shouldn’t be judged by our relationship status. Period.
Got a question about Samsung?
Ask anonymously on communities.

Interview questions from similar companies

Interview Questionnaire 

3 Questions

  • Q1. Mostly related to C and Linux
  • Q2. Preapare good linux like IPC , mutex etc
  • Ans. 

    Inter-process communication (IPC) and mutexes are essential for managing concurrent processes in Linux systems.

    • IPC allows processes to communicate and synchronize their actions. Common IPC methods include pipes, message queues, and shared memory.

    • Mutex (mutual exclusion) is a synchronization primitive that prevents multiple threads from accessing shared resources simultaneously.

    • Example of IPC: Using a named pipe (FIFO) ...

  • Answered by AI
  • Q3. C question like linklist stack
  • Ans. 

    Implementing a linked list stack in C involves defining a node structure and stack operations like push, pop, and peek.

    • Define a struct for the node: `struct Node { int data; struct Node* next; };`

    • Create a stack structure that holds a pointer to the top node: `struct Stack { struct Node* top; };`

    • Implement push operation: Allocate a new node, set its data, and adjust the top pointer.

    • Implement pop operation: Check if the ...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - good

Skills evaluated in this interview

Frontend Developer Intern Interview Questions Asked at Other Companies

Q1. Last Stone Weight Problem Explanation Given a collection of stone ... read more
asked in Samsung
Q2. Reverse Linked List Problem Statement Given a singly linked list ... read more
asked in Samsung
Q3. Cousins of a Given Node in a Binary Tree Given a binary tree with ... read more
asked in Trell
Q4. Find the Second Largest Element Given an array or list of integer ... read more
asked in Samsung
Q5. Maximum Sum Path in a Binary Tree Your task is to determine the m ... read more

I appeared for an interview in Oct 2016.

Interview Questionnaire 

8 Questions

  • Q1. C,C++, Programming Concepts
  • Q2. Resume Based
  • Q3. Puzzle Questions
  • Q4.  OS, Database, Networking, Computer Architecture based question
  • Q5. Project Based- Briefs, Details
  • Q6. What are your hobbies
  • Ans. 

    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.

  • Answered by AI
  • Q7. Where do you see yourself in 5 years
  • Ans. 

    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

  • Answered by AI
  • Q8. Why do you want to join DELL.
  • Ans. 

    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.

  • Answered by AI

Interview Preparation Tips

Round: Resume Shortlist
Experience: CGPA>9.0

Skills: Technical Skills
College Name: KIIT University

I appeared for an interview in Jan 2017.

Interview Preparation Tips

Round: Group Discussion
Experience: All got different topics to discuss on gd.
Tips: Plan before you speak. Be sure whether you are to or against.
Duration: 5 minutes

Round: Test
Experience: More questions on blood relationship, ages
Tips: Os db on technical
Duration: 1 hour

Skills: Technical Questions, Manage A Difficult Situation, Technical Knowledge(ML

I appeared for an interview in May 2017.

Interview Questionnaire 

4 Questions

  • Q1. Why is string immutable
  • Ans. 

    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.

  • Answered by AI
  • Q2. Do @requestparam has default value
  • Ans. 

    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.

  • Answered by AI
  • Q3. Singleton and prototype
  • Q4. Why abstract class is required
  • Ans. 

    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...

  • Answered by AI

Skills evaluated in this interview

I appeared for an interview before May 2021.

Round 1 - Assignment 

(1 Question)

Round duration - 90 Minutes
Round difficulty - Medium

  • Q1. 

    Colorful Knapsack Problem

    You are given a set of 'N' stones, each with a specific weight and color. The goal is to fill a knapsack with exactly 'M' stones, choosing one stone of each color, so that the to...

  • Ans. 

    The goal is to fill a knapsack with exactly 'M' stones, choosing one stone of each color, minimizing the unused capacity.

    • Use dynamic programming to solve this problem efficiently.

    • Create a 2D array to keep track of the minimum unused capacity for each color and weight combination.

    • Iterate through the stones and colors to update the array with the minimum unused capacity.

    • Return the minimum unused capacity from the array a...

  • Answered by AI
Round 2 - Face to Face 

Round duration - 24 hours
Round difficulty - Medium

Round 3 - HR 

Round duration - 25 minutes
Round difficulty - Easy

Interview Preparation Tips

Professional and academic backgroundI applied for the job as SDE - 1 in HyderabadEligibility criteriatop 20 students from branch. *greater than 7.5 CGPA (approximation)Dell Technologies interview preparation:Topics to prepare for the interview - OOPs, backend web development using python, Django, web development and machine learningTime required to prepare for the interview - 2 monthsInterview preparation tips for other job seekers

Tip 1 : have basic knowledge of web development
Tip 2 : have in depth understanding of workflow and tech stacks you use in your projects

Application resume tips for other job seekers

Tip 1 : mention the skills you are comfortable to answer questions on
Tip 2 : have some projects with clear mention of your contribution to it on resume.

Final outcome of the interviewSelected

Skills evaluated in this interview

I appeared for an interview before May 2021.

Round 1 - Coding Test 

(1 Question)

Round duration - 24 hours
Round difficulty - Easy

It was a hackathon we were given a problem statement and we had to solve that within 2 days. There were team of 4 people.

  • Q1. You had to build a chatbot. Can you describe the design process and the key considerations you took into account?
  • Ans. 

    The design process for building a chatbot involves defining user goals, choosing a platform, designing conversation flow, implementing natural language processing, and testing for accuracy.

    • Define user goals and objectives for the chatbot

    • Choose a platform or framework for building the chatbot (e.g. Dialogflow, Microsoft Bot Framework)

    • Design the conversation flow and user interactions

    • Implement natural language processing...

  • Answered by AI
Round 2 - Coding Test 

Round duration - 15 minutes
Round difficulty - Easy

HR round

Interview Preparation Tips

Professional and academic backgroundI applied for the job as SDE - 1 in BangaloreEligibility criteria10th/12th marks about 70% and CGPA 7+Dell Technologies interview preparation:Topics to prepare for the interview - C,C++, DBMS, Personality Building and Quants.Time required to prepare for the interview - 2-3 monthsInterview preparation tips for other job seekers

Tip 1 : Do Quants everyday
Tip 2 : Work on your communication skills
Tip 3 : Competitive coding

Application resume tips for other job seekers

Tip 1 : don’t brag
Tip 2 : wrote the skills you have

Final outcome of the interviewSelected

Skills evaluated in this interview

Are these interview questions helpful?

I applied via Naukri.com and was interviewed before Jun 2021. There were 2 interview rounds.

Round 1 - Technical 

(1 Question)

  • Q1. C,c++ questions like oops
Round 2 - Coding Test 

Networking and linux internals

Interview Preparation Tips

Interview preparation tips for other job seekers - easy to crack the interview, just be mindful
Interview experience
5
Excellent
Difficulty level
Hard
Process Duration
Less than 2 weeks
Result
-

I applied via LinkedIn and was interviewed in Nov 2023. There were 2 interview rounds.

Round 1 - Coding Test 

Difficult Coding question.

Round 2 - Technical 

(3 Questions)

  • Q1. Architecture design
  • Q2. Dont remember question
  • Q3. Explained desig

Interview Preparation Tips

Interview preparation tips for other job seekers - prepare well
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Company Website and was interviewed in Apr 2023. There were 3 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Don’t add your photo or details such as gender, age, and address in your resume. These details do not add any value.
View all tips
Round 2 - Aptitude Test 

I am read to test for round number one.

Round 3 - Coding Test 

I also ready for this and this is so effective for me.

Interview Preparation Tips

Topics to prepare for Vivo Software Developer interview:
  • Software developer
  • Software Testing
  • Microsoft word
  • Javascript
  • C++
  • C
  • HTML
  • Coding

Tell us how to improve this page.

Interview Questions from Similar Companies

Dell Interview Questions
3.9
 • 406 Interviews
HARMAN Interview Questions
3.8
 • 277 Interviews
OPPO Interview Questions
4.0
 • 230 Interviews
LG Electronics Interview Questions
3.9
 • 228 Interviews
vivo Interview Questions
4.1
 • 209 Interviews
Philips Interview Questions
3.8
 • 169 Interviews
Apple Interview Questions
4.3
 • 150 Interviews
Voltas Interview Questions
4.0
 • 149 Interviews
View all
Assistant Manager
1k salaries
unlock blur

₹9.4 L/yr - ₹15.3 L/yr

Software Engineer
959 salaries
unlock blur

₹11.6 L/yr - ₹20 L/yr

Sales Executive
892 salaries
unlock blur

₹1.8 L/yr - ₹5.5 L/yr

Manager
511 salaries
unlock blur

₹15.6 L/yr - ₹28.4 L/yr

Area Sales Manager
501 salaries
unlock blur

₹12.1 L/yr - ₹22.5 L/yr

Explore more salaries
Compare Samsung with

Apple

4.3
Compare

vivo

4.1
Compare

OPPO

4.0
Compare

Dell

3.9
Compare
write
Share an Interview