Samsung Interview Prep (SRI-B / SRI-D / SDE)
Samsung hires software engineers through two quite different doors, and the preparation barely overlaps. Samsung Research Institute India — Bangalore (SRI-B) and Noida or Delhi (SRI-D) — runs its own campus process built around a long online coding test with a distinctive simulation and puzzle flavour. General and experienced software roles across Samsung’s other units run a more conventional aptitude, coding, and interview loop.
If you are a campus candidate, the online test is the filter that matters and nothing else is close. It is commonly reported as a single problem with a three-hour window, ten to fifty hidden test cases, and a pass condition of clearing every one of them. There is no partial credit, which changes how you should spend the three hours: correctness on every edge case beats an elegant approach that fails one case.
Interview Process
| Stage | Duration | Focus |
|---|---|---|
| Online Coding Test (SRI) | 3 hours | 1 problem, all test cases must pass |
| Aptitude Test (general roles) | 60-90 min | Quantitative, logical, verbal, plus coding |
| Technical Interview 1 | 45-60 min | DSA, CS fundamentals, your test solution |
| Technical Interview 2 | 45-60 min | Projects, OS and DBMS depth, design |
| HR Round | 30 min | Fit, relocation, motivation |
The two tracks differ at the first stage. SRI-B and SRI-D campus drives lead with the three-hour coding test on Samsung’s own platform. Other Samsung units more commonly lead with an aptitude test that gates a coding section. Interview rounds converge after that: two technical rounds and an HR round is the usual pattern, and the first technical round frequently opens by asking you to explain the approach you used in the online test — so do not forget it the moment you submit.
What Samsung Actually Tests
Derived from 62 reported Samsung-tagged problems. Difficulty mix:
| Difficulty | Count | Share |
|---|---|---|
| Easy | 11 | 18% |
| Medium | 33 | 53% |
| Hard | 18 | 29% |
Over a quarter of the list is Hard, so treat Hard problems as the baseline rather than a stretch goal.
Where those problems fall by pattern:
| Rank | Pattern | Problems | Share of list |
|---|---|---|---|
| 1 | Dynamic Programming | 14 | 23% |
| 2 | Sliding Window & Two Pointers | 8 | 13% |
| 3 | Graphs | 7 | 11% |
| 4 | Heap / Priority Queue | 6 | 10% |
| 5 | Arrays & Hashing | 6 | 10% |
| 6 | Binary Search | 5 | 8% |
| 7 | Intervals, Greedy & Sorting | 3 | 5% |
| 8 | Trees | 3 | 5% |
| 9 | Design (Coding) | 2 | 3% |
| 10 | Tries & String Search | 2 | 3% |
Samsung Signature Problems
These rank high on Samsung’s list but are reported by few other companies — the questions that are distinctively theirs rather than generic interview classics. The last column is how many of the 142 companies on this site report each one.
| # | Problem | Pattern | Difficulty | Also asked at | Link |
|---|---|---|---|---|---|
| 1 | Burst Balloons | DP | Hard | 16 of 142 | Solve → |
| 2 | Count Prefix and Suffix Pairs II | Z Algorithm + Rolling Hash | Hard | 4 of 142 | LeetCode → |
| 3 | Substring with Concatenation of All Words | Sliding Window | Hard | 9 of 142 | LeetCode → |
| 4 | Find Maximum Value in a Constrained Sequence | Greedy | Medium | 2 of 142 | LeetCode → |
| 5 | Minimize Deviation in Array | Ordered Set + Heap | Hard | 2 of 142 | Solve → |
| 6 | Number of Paths with Max Score | DP | Hard | 4 of 142 | LeetCode → |
| 7 | Vertical Order Traversal of a Binary Tree | Binary Tree + BFS | Hard | 14 of 142 | Solve → |
| 8 | Find the Width of Columns of a Grid | Matrix + Array | Easy | 2 of 142 | LeetCode → |
| 9 | Number of Nodes in the Sub-Tree With the Same Label | DP on Trees + BFS | Medium | 2 of 142 | LeetCode → |
| 10 | Largest 1-Bordered Square | DP | Medium | 3 of 142 | LeetCode → |
| 11 | Maximum Height by Stacking Cuboids | DP | Hard | 4 of 142 | LeetCode → |
| 12 | Partition Array Into Two Arrays to Minimize Sum Difference | Meet in the Middle + Bitmask | Hard | 8 of 142 | LeetCode → |
| 13 | Maximize Distance to Closest Person | Array | Medium | 9 of 142 | Solve → |
| 14 | Is Graph Bipartite? | Graph Coloring + Bipartite Graph | Medium | 10 of 142 | LeetCode → |
If you are short on time, these carry more Samsung-specific signal per hour than the universal top-100 lists.
System Design (HLD) Problems Asked at Samsung
| # | Problem | Difficulty | Link |
|---|---|---|---|
| 1 | Chat System | Intermediate | Read → |
| 2 | Image Processing Pipeline (Camera and Gallery) | Intermediate | Read → |
| 3 | Dropbox (Cloud File Sync) | Advanced | Read → |
| 4 | Spotify (Music Streaming) | Intermediate | Read → |
| 5 | Notification System (Push to Devices) | Intermediate | Read → |
| 6 | Distributed Key-Value Store | Advanced | Read → |
| 7 | Distributed Cache | Intermediate | Read → |
| 8 | Metrics and Monitoring System | Intermediate | Read → |
| 9 | Rate Limiter | Beginner | Read → |
LLD / Machine Coding Problems Asked at Samsung
Technical interviews frequently include an object-oriented modelling question, and Samsung’s device-software background means state machines and resource management come up more than inheritance hierarchies do.
| # | Problem | Difficulty | Link |
|---|---|---|---|
| 1 | Elevator System | Intermediate | Read → |
| 2 | Music Player | Intermediate | Read → |
| 3 | File System | Intermediate | Read → |
| 4 | Parking Lot | Beginner | Read → |
| 5 | Snake and Ladder | Beginner | Read → |
| 6 | Task Scheduler | Intermediate | Read → |
DSA Problems Asked at Samsung
60 problems across 12 pattern groups. Each group is allocated in proportion to its real share of Samsung’s tagged list, then filled with the highest-frequency problems in that group — so the weight here matches the distribution above rather than burying graph and tree work under the usual array classics.
Dynamic Programming
State definition is the whole battle. Say the recurrence out loud before you write the table. All 14 on the list.
| # | Problem | Pattern | Difficulty | Link |
|---|---|---|---|---|
| 1 | Longest Increasing Subsequence | LIS + Binary Search | Medium | Solve → |
| 2 | Burst Balloons | DP | Hard | Solve → |
| 3 | Number of Paths with Max Score | DP | Hard | LeetCode → |
| 4 | Trapping Rain Water | Monotonic Stack + Two Pointers | Hard | Solve → |
| 5 | Largest 1-Bordered Square | DP | Medium | LeetCode → |
| 6 | Maximum Height by Stacking Cuboids | DP | Hard | LeetCode → |
| 7 | Partition Array Into Two Arrays to Minimize Sum Difference | Meet in the Middle + Bitmask | Hard | LeetCode → |
| 8 | Best Time to Buy and Sell Stock | DP | Easy | Solve → |
| 9 | Generate Parentheses | Bracket Sequences + Backtracking | Medium | Solve → |
| 10 | Edit Distance | DP | Medium | Solve → |
| 11 | Jump Game II | Greedy + DP | Medium | Solve → |
| 12 | Maximum Subarray | Divide and Conquer + DP | Medium | Solve → |
| 13 | Split Array Largest Sum | Prefix Sum + Binary Search | Hard | Solve → |
| 14 | Tallest Billboard | Meet in the Middle + 0-1 Knapsack | Hard | LeetCode → |
Sliding Window & Two Pointers
Linear-time scans over arrays and strings. High volume, low variance — these should be automatic. All 8 on the list.
| # | Problem | Pattern | Difficulty | Link |
|---|---|---|---|---|
| 15 | Substring with Concatenation of All Words | Sliding Window | Hard | LeetCode → |
| 16 | 3Sum | Two Pointers | Medium | Solve → |
| 17 | Intersection of Two Linked Lists | Linked List + Two Pointers | Easy | LeetCode → |
| 18 | Next Permutation | Two Pointers | Medium | Solve → |
| 19 | Rotate Array | Two Pointers | Medium | Solve → |
| 20 | Merge Sorted Array | Two Pointers | Easy | Solve → |
| 21 | Move Zeroes | Two Pointers | Easy | Solve → |
| 22 | Sort Colors | Bubble Sort + Quicksort | Medium | Solve → |
Graphs
Traversal, connectivity, ordering, and shortest paths. The hardest bucket to fake — either you have drilled it or you have not. All 7 on the list.
| # | Problem | Pattern | Difficulty | Link |
|---|---|---|---|---|
| 23 | Minimum Cost of a Path With Special Roads | Shortest Path + Graph | Medium | LeetCode → |
| 24 | Number of Islands | Union-Find + BFS | Medium | Solve → |
| 25 | Design Graph With Shortest Path Calculator | Shortest Path + Graph | Hard | LeetCode → |
| 26 | Is Graph Bipartite? | Graph Coloring + Bipartite Graph | Medium | LeetCode → |
| 27 | Possible Bipartition | Graph Coloring + Bipartite Graph | Medium | Solve → |
| 28 | Check if There is a Valid Path in a Grid | Union-Find + BFS | Medium | LeetCode → |
| 29 | Word Ladder | Bidirectional Search + BFS | Hard | Solve → |
Heap / Priority Queue
Top-k, streaming medians, and scheduling. Usually the difference between a passing and a timing-out solution. All 6 on the list.
| # | Problem | Pattern | Difficulty | Link |
|---|---|---|---|---|
| 30 | Mark Elements on Array by Performing Queries | Heap | Medium | LeetCode → |
| 31 | Minimize Deviation in Array | Ordered Set + Heap | Hard | Solve → |
| 32 | Maximum Product of Two Elements in an Array | Heap | Easy | Solve → |
| 33 | IPO | Heap + Greedy | Hard | Solve → |
| 34 | Merge k Sorted Lists | Tournament Sort + Merge Sort | Hard | Solve → |
| 35 | Trapping Rain Water II | Heap + BFS | Hard | Solve → |
Arrays & Hashing
Prefix sums, counting, and grid walks. The warm-up round, and the one people get careless on. All 6 on the list.
| # | Problem | Pattern | Difficulty | Link |
|---|---|---|---|---|
| 36 | Find the Width of Columns of a Grid | Matrix + Array | Easy | LeetCode → |
| 37 | Two Sum | Hash Table + Array | Easy | Solve → |
| 38 | Maximize Distance to Closest Person | Array | Medium | Solve → |
| 39 | Rotting Oranges | BFS | Medium | Solve → |
| 40 | Make Sum Divisible by P | Prefix Sum | Medium | LeetCode → |
| 41 | Rotate Image | Matrix + Math | Medium | Solve → |
Binary Search
Half of these are binary search on the answer, not on an array. Learn to spot the monotonic predicate. All 5 on the list.
| # | Problem | Pattern | Difficulty | Link |
|---|---|---|---|---|
| 42 | Guess Number Higher or Lower | Interactive + Binary Search | Easy | LeetCode → |
| 43 | Find Peak Element | Binary Search | Medium | Solve → |
| 44 | Subarray Product Less Than K | Sliding Window + Prefix Sum | Medium | Solve → |
| 45 | Median of Two Sorted Arrays | Divide and Conquer + Binary Search | Hard | Solve → |
| 46 | Search in Rotated Sorted Array | Binary Search | Medium | Solve → |
Trees
Recursion discipline: what you return up, what you pass down. Follow-ups usually push from recursive to iterative. All 3 on the list.
| # | Problem | Pattern | Difficulty | Link |
|---|---|---|---|---|
| 47 | Vertical Order Traversal of a Binary Tree | Binary Tree + BFS | Hard | Solve → |
| 48 | Number of Nodes in the Sub-Tree With the Same Label | DP on Trees + BFS | Medium | LeetCode → |
| 49 | Two Sum IV - Input is a BST | BST + Binary Tree | Easy | LeetCode → |
Intervals, Greedy & Sorting
Sort, then make a local decision you can defend. Expect to justify why greedy is safe here. All 3 on the list.
| # | Problem | Pattern | Difficulty | Link |
|---|---|---|---|---|
| 50 | Find Maximum Value in a Constrained Sequence | Greedy | Medium | LeetCode → |
| 51 | Stone Game IX | Nim Game + Zero-Sum Game | Medium | LeetCode → |
| 52 | Merge Intervals | Quicksort | Medium | Solve → |
Tries & String Search
Prefix structures and substring matching. Common wherever autocomplete or search is part of the product. All 2 on the list.
| # | Problem | Pattern | Difficulty | Link |
|---|---|---|---|---|
| 53 | Count Prefix and Suffix Pairs II | Z Algorithm + Rolling Hash | Hard | LeetCode → |
| 54 | Longest Palindromic Substring | Manacher + Two Pointers | Medium | Solve → |
Backtracking
Enumerate with pruning. Interviewers look for a clean choose, explore, unchoose loop and a real complexity bound. All 2 on the list.
| # | Problem | Pattern | Difficulty | Link |
|---|---|---|---|---|
| 55 | Permutations | Backtracking | Medium | Solve → |
| 56 | Word Search | Backtracking + DFS | Medium | Solve → |
Design (Coding)
Build a data structure to a spec. Graded on API shape and the complexity of each operation, not just correctness. All 2 on the list.
| # | Problem | Pattern | Difficulty | Link |
|---|---|---|---|---|
| 57 | LRU Cache | Doubly Linked List + Design | Medium | Solve → |
| 58 | Exam Room | Ordered Set + Design | Medium | LeetCode → |
Math & Bit Manipulation
Number theory, geometry, and bit tricks. Short to write, easy to get subtly wrong on overflow and sign. All 2 on the list.
| # | Problem | Pattern | Difficulty | Link |
|---|---|---|---|---|
| 59 | Minimum Number of Operations to Make String Sorted | Fermat’s Little Theorem + Combinatorics | Hard | LeetCode → |
| 60 | Divide Two Integers | Bit Manipulation | Medium | Solve → |
Samsung’s Favourite Patterns (Ranked)
| Rank | Pattern | Frequency | Problems on list | Start with |
|---|---|---|---|---|
| 1 | Dynamic Programming | Very High | 14 (23%) | Longest Increasing Subsequence, Burst Balloons, Number of Paths with Max Score |
| 2 | Sliding Window & Two Pointers | High | 8 (13%) | Substring with Concatenation of All Words, 3Sum, Intersection of Two Linked Lists |
| 3 | Graphs | High | 7 (11%) | Minimum Cost of a Path With Special Roads, Number of Islands, Design Graph With Shortest Path Calculator |
| 4 | Heap / Priority Queue | Medium-High | 6 (10%) | Mark Elements on Array by Performing Queries, Minimize Deviation in Array, Maximum Product of Two Elements in an Array |
| 5 | Arrays & Hashing | Medium-High | 6 (10%) | Find the Width of Columns of a Grid, Two Sum, Maximize Distance to Closest Person |
| 6 | Binary Search | Medium-High | 5 (8%) | Guess Number Higher or Lower, Find Peak Element, Subarray Product Less Than K |
| 7 | Trees | Medium | 3 (5%) | Vertical Order Traversal of a Binary Tree, Number of Nodes in the Sub-Tree With the Same Label, Two Sum IV - Input is a BST |
| 8 | Intervals, Greedy & Sorting | Medium | 3 (5%) | Find Maximum Value in a Constrained Sequence, Stone Game IX, Merge Intervals |
| 9 | Tries & String Search | Medium | 2 (3%) | Count Prefix and Suffix Pairs II, Longest Palindromic Substring |
| 10 | Backtracking | Medium | 2 (3%) | Permutations, Word Search |
How to read this: the top three rows are where your preparation hours should go. A candidate fluent in Dynamic Programming, Sliding Window & Two Pointers, Graphs covers the bulk of what Samsung actually asks. The rest is insurance for the one round that goes somewhere unexpected.
The SRI Online Coding Test (SRI-B and SRI-D)
This is the round that decides campus outcomes at Samsung Research Institute India, and it is unlike any other online assessment in this list. The format reported consistently across candidate accounts:
| Element | Commonly reported |
|---|---|
| Duration | 3 hours, occasionally 3 to 4 |
| Problems | 1 complex problem, occasionally 2 |
| Test cases | 10 to 50 hidden cases |
| Pass condition | All test cases must pass. No partial credit |
| Submissions | Typically capped around 5 to 10; compiling is unlimited |
| Languages | C, C++, or Java |
| Libraries | Several reports state the standard template library and equivalent containers are disallowed |
| Platform | Samsung’s own test platform, proctored |
Three consequences worth internalising before you practice:
All-or-nothing changes your strategy. A correct exhaustive search with pruning is worth more than a clever optimal solution with one unhandled case. The input constraints in these problems are usually deliberately small, which is the test telling you that brute force with memoisation is acceptable.
No library means no improvising. If a queue, stack, priority queue, or dynamic array has to be written from scratch mid-test, you lose an hour you needed for the problem. Build and test a personal header of those structures beforehand so it is muscle memory.
The submission cap punishes guessing. With unlimited compiles but a handful of submissions, the discipline is to construct your own edge cases locally and only submit when you believe you are done. Candidates who submit to probe the hidden cases run out of attempts.
Recurring SRI Test Archetypes
Candidate accounts, interview-experience write-ups, and the community-maintained Samsung practice sets converge on a small set of problem shapes that recur year over year under different story wrappers. Names like Mr. Kim, Endoscopy, Wormhole, Burst Balloon, and Omnious Number circulate in those collections; the wrapper changes but the underlying technique does not. Practice the technique, not the name.
| Archetype | What it looks like | Technique | Closest LeetCode practice |
|---|---|---|---|
| Grid agent collecting or avoiding | An agent moves over a grid with a control zone, items to collect, and hazards to avoid; maximise a score | BFS or DFS over state, or simulation with pruning | Shortest Path in a Grid with Obstacles Elimination |
| Visit every required point | Find the shortest route that serves all required cells and returns home | Bitmask DP or travelling-salesman style search | Shortest Path Visiting All Nodes |
| Constrained placement | Place pipes, cameras, or routers so coverage rules hold; maximise or minimise a count | Backtracking with pruning | N-Queens |
| Spread over time | Something propagates outward step by step until the grid stabilises | Multi-source BFS | Rotting Oranges |
| Teleports and portals | Paths where certain cells jump you elsewhere, changing the graph | Shortest path on an augmented graph | Shortest Path in Binary Matrix |
| Order with dependencies | Detect and report a cycle, or produce a valid ordering | Topological sort, cycle detection | Course Schedule II |
| Two-colouring | Split entities into two groups so no conflicting pair shares one | Bipartite check with BFS | Is Graph Bipartite |
| Interval or removal DP | Remove items in an order that maximises the score, where removal changes neighbours | Interval DP | Burst Balloons |
| Minimax on a measure | Maximise the minimum separation, or minimise the maximum load | Binary search on the answer | Magnetic Force Between Two Balls |
| Digit construction | Count or build numbers subject to digit rules | Digit DP or constructive counting | Numbers At Most N Given Digit Set |
A practical drill: take any row, implement it without library containers, and then hand-write five adversarial test cases before you look at anyone else’s. That is the exact skill the three-hour test measures.
Behavioural Round
| # | Question |
|---|---|
| 1 | Walk me through the approach you used in the online coding test. |
| 2 | Tell me about your most substantial project and the part you personally built. |
| 3 | Tell me about a time you were stuck on a bug for days. How did it end? |
| 4 | Why Samsung Research, and which domain interests you? |
| 5 | Are you comfortable relocating, and what are you looking for in your first few years? |
| 6 | Tell me about a time you worked in a team where someone was not contributing. |
| 7 | What have you learned recently that was not part of your coursework? |
| 8 | Where do you see the limits of your current knowledge? |
The HR round is usually a fit and logistics conversation rather than a structured behavioural assessment, but the first technical round regularly opens with your online test solution. Keep notes on your approach, the complexity, and the cases you had to special-case, because being unable to explain code you wrote two weeks earlier reads badly.
14-Day Prep Plan
Built from the pattern ranking above, so the heaviest topics get the most time.
| Day | Focus | Problems |
|---|---|---|
| 1 | Dynamic Programming (part 1) | Longest Increasing Subsequence, Burst Balloons, Number of Paths with Max Score |
| 2 | Dynamic Programming (part 2) | Trapping Rain Water, Largest 1-Bordered Square, Maximum Height by Stacking Cuboids |
| 3 | Sliding Window & Two Pointers (part 1) | Substring with Concatenation of All Words, 3Sum, Intersection of Two Linked Lists |
| 4 | Sliding Window & Two Pointers (part 2) | Next Permutation, Rotate Array, Merge Sorted Array |
| 5 | Graphs (part 1) | Minimum Cost of a Path With Special Roads, Number of Islands, Design Graph With Shortest Path Calculator |
| 6 | Graphs (part 2) | Is Graph Bipartite?, Possible Bipartition, Check if There is a Valid Path in a Grid |
| 7 | Heap / Priority Queue | Mark Elements on Array by Performing Queries, Minimize Deviation in Array, Maximum Product of Two Elements in an Array |
| 8 | Arrays & Hashing | Find the Width of Columns of a Grid, Two Sum, Maximize Distance to Closest Person |
| 9 | Binary Search | Guess Number Higher or Lower, Find Peak Element, Subarray Product Less Than K |
| 10 | Trees | Vertical Order Traversal of a Binary Tree, Number of Nodes in the Sub-Tree With the Same Label, Two Sum IV - Input is a BST |
| 11 | Intervals, Greedy & Sorting | Find Maximum Value in a Constrained Sequence, Stone Game IX, Merge Intervals |
| 12 | Mock round | Two problems in 45 minutes, timed, no hints. Simulate the real round. |
| 13 | Revision | Redo the problems you failed or needed a hint on. |
| 14 | Light review + rest | Re-read your pattern notes. Sleep early. |
Tips for Samsung Interviews
- Treat the online test as the whole game if you are a campus candidate. Three hours, one problem, and typically every hidden test case must pass. Practice under exactly those conditions, including the submission limit.
- Write your own data structures. Several reported SRI tests restrict you to C, C++, or Java and disallow the standard template library, so a queue, a stack, a priority queue, and a visited array need to come out of your fingers without library help. Keep a tested personal template.
- Favour brute force that is provably correct. With no partial credit, a correct exhaustive search with good pruning beats an optimal algorithm that fails one case. Constraints in these problems are usually small enough on purpose.
- Drill grid simulation and state-space search. The recurring SRI archetypes are an agent moving on a grid, backtracking over placements, and shortest paths with extra state. BFS, DFS, and backtracking with careful state encoding cover most of it.
- Spend the first twenty minutes on cases, not code. Read the statement twice, write out the boundary cases by hand, and decide your state representation before typing. Most failures in this format are a misread rule, not a weak algorithm.
- Remember your test solution for the interview. The first technical round often starts there, asking for your approach and complexity.
- Do not skip core CS theory. Operating systems, DBMS, computer networks, and OOP concepts are asked directly in the technical rounds, especially for campus and early-career candidates.
Other Company Prep
- Qualcomm Interview Prep →
- Nvidia Interview Prep →
- Cisco Interview Prep →
- Tesla Interview Prep →
- All Company Guides →
- Back to Interview Guide →
Samsung is a large organisation with many independent hiring units, and the process differs considerably between Samsung Research Institute India campus drives, experienced software roles, and non-India units. The online test details above are drawn from publicly shared candidate accounts across several years — duration, test case counts, submission limits, and library restrictions have all varied between drives, and your instructions on the day take precedence over anything here. The tagged question list on this page pools reports across Samsung entities.