Add office photos
Samsung Research logo
Employer?
Claim Account for FREE

Samsung Research

3.1
based on 998 Reviews
Video summary
Filter interviews by
Fresher
Experienced
Clear (1)

10+ Samsung Research Interview Questions and Answers for Freshers

Updated 20 Oct 2024
Popular Designations

Q1. Write the code for the Dijkstra

Ans.

Dijkstra's algorithm finds the shortest path in a graph from a starting node to all other nodes.

  • Use a priority queue to keep track of the shortest distance to each node

  • Initialize distances to all nodes as infinity except the starting node as 0

  • Iterate through all nodes and update distances if a shorter path is found

  • Repeat until all nodes are visited and shortest paths are calculated

Add your answer
right arrow

Q2. Dry run on a sample test.

Ans.

Dry run on a sample test involves mentally executing the code to understand its flow and output.

  • Understand the code logic and variables

  • Step through each line of code

  • Keep track of variable values at each step

  • Predict the output based on the code execution

Add your answer
right arrow

Q3. Best Time to buy and sell stocks

Ans.

The best time to buy stocks is when the price is low and the best time to sell is when the price is high.

  • Buy stocks when the market is down or during a recession to get them at a lower price.

  • Sell stocks when the market is up or during a boom to maximize profits.

  • Consider factors like company performance, market trends, and economic indicators before buying or selling stocks.

Add your answer
right arrow

Q4. Chocolates Distribution Problem Statement

Dr. Stephen wants to distribute chocolates fairly among K children. He has N boxes of chocolates arranged in a row, each containing a different number of chocolates. Th...read more

Add your answer
right arrow
Discover Samsung Research interview dos and don'ts from real experiences

Q5. Buy and Sell Stock Problem Statement

Imagine you are Harshad Mehta's friend, and you have been given the stock prices of a particular company for the next 'N' days. You can perform up to two buy-and-sell transa...read more

Add your answer
right arrow

Q6. Reverse Linked List Problem Statement

Given a Singly Linked List of integers, your task is to reverse the Linked List by altering the links between the nodes.

Input:

The first line of input is an integer T, rep...read more
Add your answer
right arrow
Are these interview questions helpful?

Q7. Find the middle of the linked list.

Ans.

To find the middle of a linked list, use the slow and fast pointer technique.

  • Initialize two pointers, slow and fast, both pointing to the head of the linked list.

  • Move the slow pointer by one step and the fast pointer by two steps until the fast pointer reaches the end of the list.

  • The position of the slow pointer at this point will be the middle of the linked list.

Add your answer
right arrow

Q8. Dfs write whole pseudo code.

Ans.

Depth First Search (DFS) pseudo code

  • Initialize a stack to keep track of nodes to visit

  • Start with the initial node and push it onto the stack

  • While the stack is not empty, pop a node from the stack and visit its neighbors

  • Push unvisited neighbors onto the stack

  • Repeat until all nodes are visited

Add your answer
right arrow
Share interview questions and help millions of jobseekers 🌟
man with laptop

Q9. Bfs write whole pseudo code.

Ans.

BFS (Breadth First Search) algorithm pseudo code

  • Start by enqueueing the starting node

  • While the queue is not empty, dequeue a node and process it

  • Enqueue all adjacent nodes that have not been visited yet

  • Repeat until all nodes have been visited

Add your answer
right arrow

Q10. Whats c

Ans.

C is a general-purpose programming language developed by Dennis Ritchie in 1972.

  • C is used for developing operating systems, embedded systems, and system software.

  • It is a compiled language and has a low-level memory access.

  • C is the predecessor of many modern programming languages like C++, Java, and Python.

Add your answer
right arrow

Q11. Whats loop

Ans.

A loop is a programming structure that repeats a set of instructions until a certain condition is met.

  • Loops are used to iterate over a collection of data or to repeat a set of instructions a certain number of times.

  • There are three types of loops in most programming languages: for, while, and do-while.

  • Example: for (int i = 0; i < 10; i++) { // do something }

Add your answer
right arrow

Q12. What is pointers in c?

Ans.

Pointers in C are variables that store the memory address of another variable.

  • Pointers are declared using the * symbol.

  • They can be used to access and manipulate data stored in memory.

  • Pointers can be used to pass values by reference.

  • Example: int *ptr; ptr = # *ptr = 10; // num now equals 10

  • Arrays in C are also implemented using pointers.

Add your answer
right arrow

Q13. What is function overloading?

Ans.

Function overloading is the ability to have multiple functions with the same name but different parameters.

  • Functions with the same name but different parameters can be defined in the same scope.

  • The compiler determines which function to call based on the number and types of arguments passed.

  • Function overloading is commonly used in object-oriented programming languages like C++ and Java.

Add your answer
right arrow

Q14. What is software testing?

Ans.

Software testing is the process of evaluating a software application or system to find defects and ensure it meets the specified requirements.

  • Software testing involves executing a program or application with the intent of finding errors.

  • It is done to ensure that the software meets the specified requirements and is of high quality.

  • Testing can be done manually or using automated tools.

  • Types of testing include functional, performance, security, usability, and compatibility testi...read more

Add your answer
right arrow
Contribute & help others!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos

Interview Process at Samsung Research for Freshers

based on 15 interviews
Interview experience
4.0
Good
View more
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

IBM Logo
4.0
 • 1.2k Interview Questions
Flipkart Logo
4.0
 • 570 Interview Questions
Axis Bank Logo
3.8
 • 490 Interview Questions
 Publicis Sapient Logo
3.5
 • 448 Interview Questions
Persistent Systems Logo
3.5
 • 438 Interview Questions
JLL Logo
4.1
 • 168 Interview Questions
View all
Recently Viewed
INTERVIEWS
Samsung Research
No Interviews
CAMPUS PLACEMENT
National Institute of Technology, Surathkal
SALARIES
Deutsche Telekom Digital Labs
SALARIES
Deutsche Telekom Digital Labs
INTERVIEWS
Deutsche Telekom Digital Labs
No Interviews
SALARIES
Deutsche Telekom Digital Labs
SALARIES
Samsung Research
INTERVIEWS
Deutsche Telekom Digital Labs
No Interviews
JOBS
Intellectyx Data Science India
No Jobs
INTERVIEWS
Samsung Research
No Interviews
Top Samsung Research Interview Questions And Answers
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter