Samsung logo SA
Verified Company Vault

Samsung DSA Interview Questions

66 curated coding interview questions directly asked in Samsung technical rounds, sorted by frequency with recency and difficulty diagnostics.

66 Total Questions
13 (20%) Easy Problems
36 (55%) Medium Problems
17 (26%) Hard Problems
🔥 Most Tested Topics:
Arrays (24)Core DSA (19)Strings (8)Trees (5)Dynamic Programming (5)
📂 Sourced Datasets:
Last 6 monthsAll questionsOlder than 6 months
Showing 66 of 66 displayed
IDProblemDifficultyTopicPatternAcceptanceFrequencyRecency
146LRU CacheMediumDesignData Structure Design47.4%100.0%6m
200Number of IslandsMediumGraphsBFS / DFS / Topological Sort64.4%100.0%all
42Trapping Rain WaterHardCore DSATwo Pointers67.4%87.5%all
987Vertical Order Traversal of a Binary TreeHardTreesDFS / BFS53.8%87.5%all
2029Stone Game IXMediumCore DSAImplementation / Reasoning30.3%87.5%all
2035Partition Array Into Two Arrays to Minimize Sum DifferenceHardArrays; Dynamic ProgrammingSorting / Prefix / Scan; State Transition23.4%87.5%all
1301Number of Paths with Max ScoreHardCore DSAImplementation / Reasoning42.5%87.5%all
1139Largest 1-Bordered SquareMediumCore DSAImplementation / Reasoning52.1%87.5%all
300Longest Increasing SubsequenceMediumDynamic ProgrammingState Transition59.4%87.5%all
312Burst BalloonsHardCore DSAImplementation / Reasoning63.5%87.5%all
1691Maximum Height by Stacking CuboidsHardArrays; Stack / QueueSorting / Prefix / Scan; Monotonic Stack / Simulation62.0%87.5%all
1464Maximum Product of Two Elements in an ArrayEasyArraysSorting / Prefix / Scan83.6%87.5%all
1519Number of Nodes in the Sub-Tree With the Same LabelMediumTreesDFS / BFS55.4%87.5%all
2639Find the Width of Columns of a GridEasyCore DSAImplementation / Reasoning70.5%87.5%all
2642Design Graph With Shortest Path CalculatorHardGraphs; Stack / Queue; DesignBFS / DFS / Topological Sort; Monotonic Stack / Simulation; Data Structure Design65.2%87.5%all
2662Minimum Cost of a Path With Special RoadsMediumArraysSorting / Prefix / Scan43.2%87.5%all
653Two Sum IV - Input is a BSTEasyArrays; TreesSorting / Prefix / Scan; DFS / BFS; Two Pointers63.3%87.5%all
1675Minimize Deviation in ArrayHardArraysSorting / Prefix / Scan54.0%87.5%all
2810Faulty KeyboardEasyCore DSAImplementation / Reasoning80.2%87.5%all
1830Minimum Number of Operations to Make String SortedHardArrays; StringsSorting / Prefix / Scan; Hashing / Sliding Window50.2%87.5%all
3045Count Prefix and Suffix Pairs IIHardCore DSAImplementation / Reasoning28.4%87.5%all
3080Mark Elements on Array by Performing QueriesMediumArraysSorting / Prefix / Scan49.3%87.5%all
30Substring with Concatenation of All WordsHardStrings; TreesHashing / Sliding Window; DFS / BFS34.4%87.5%all
374Guess Number Higher or LowerEasyCore DSAImplementation / Reasoning57.6%87.5%all
3796Find Maximum Value in a Constrained SequenceMediumArraysSorting / Prefix / Scan62.2%87.5%all
1Two SumEasyArraysSorting / Prefix / Scan; Two Pointers57.5%75.0%all
121Best Time to Buy and Sell StockEasyCore DSAImplementation / Reasoning56.8%75.0%all
785Is Graph Bipartite?MediumGraphsBFS / DFS / Topological Sort59.3%75.0%all
849Maximize Distance to Closest PersonMediumCore DSAImplementation / Reasoning49.8%75.0%all
994Rotting OrangesMediumCore DSAImplementation / Reasoning58.7%75.0%all
886Possible BipartitionMediumDynamic ProgrammingState Transition52.6%75.0%all
162Find Peak ElementMediumBinary SearchBinary Search47.0%75.0%all
153SumMediumArraysSorting / Prefix / Scan39.1%62.5%all
79Word SearchMediumStrings; Binary SearchHashing / Sliding Window; Binary Search47.4%62.5%all
14Longest Common PrefixEasyCore DSAImplementation / Reasoning47.6%62.5%all
189Rotate ArrayMediumArraysSorting / Prefix / Scan44.9%62.5%all
23Merge k Sorted ListsHardArrays; Linked List; HeapSorting / Prefix / Scan; Two Pointers; Priority Queue59.6%62.5%all
713Subarray Product Less Than KMediumArraysSorting / Prefix / Scan54.3%62.5%all
75Sort ColorsMediumArraysSorting / Prefix / Scan69.6%62.5%all
29Divide Two IntegersMediumCore DSAImplementation / Reasoning19.8%62.5%all
22Generate ParenthesesMediumStringsHashing / Sliding Window78.7%62.5%all
20Valid ParenthesesEasyStringsHashing / Sliding Window44.2%50.0%all
33Search in Rotated Sorted ArrayMediumArrays; Binary SearchSorting / Prefix / Scan; Binary Search44.9%50.0%all
53Maximum SubarrayMediumArraysSorting / Prefix / Scan53.3%50.0%all
56Merge IntervalsMediumArraysSorting / Prefix / Scan51.8%50.0%all
141Linked List CycleEasyLinked ListTwo Pointers54.3%50.0%all
322Coin ChangeMediumDynamic ProgrammingState Transition48.4%50.0%all
1590Make Sum Divisible by PMediumArraysSorting / Prefix / Scan42.6%50.0%all
402Remove K DigitsMediumCore DSAImplementation / Reasoning36.9%50.0%all
127Word LadderHardStringsHashing / Sliding Window45.6%50.0%all
46PermutationsMediumBacktrackingBacktracking81.9%50.0%all
407Trapping Rain Water IIHardCore DSATwo Pointers64.1%50.0%all
160Intersection of Two Linked ListsEasyLinked ListTwo Pointers63.7%50.0%all
1514Path with Maximum ProbabilityMediumArraysSorting / Prefix / Scan65.5%50.0%all
88Merge Sorted ArrayEasyArraysSorting / Prefix / Scan54.9%50.0%all
283Move ZeroesEasyCore DSATwo Pointers63.8%50.0%all
31Next PermutationMediumBacktrackingBacktracking45.3%50.0%all
45Jump Game IIMediumGreedyGreedy42.9%50.0%all
410Split Array Largest SumHardArraysSorting / Prefix / Scan60.4%50.0%all
4Median of Two Sorted ArraysHardArrays; HeapSorting / Prefix / Scan; Priority Queue46.6%50.0%all
5Longest Palindromic SubstringMediumStrings; TreesHashing / Sliding Window; DFS / BFS37.8%50.0%all
48Rotate ImageMediumArraysSorting / Prefix / Scan80.1%50.0%all
72Edit DistanceMediumDynamic ProgrammingState Transition60.6%50.0%all
855Exam RoomMediumCore DSAImplementation / Reasoning43.5%50.0%all
502IPOHardCore DSAImplementation / Reasoning53.5%50.0%all
1391Check if There is a Valid Path in a GridMediumStringsHashing / Sliding Window64.5%50.0%all