Samsung Coding Interview Questions: 6 Tagged Problems
6 coding problems tagged Samsung — 6 medium — with solutions in 13 languages. Plus a study plan by topic.
- Problems: 6
- By difficulty: 6 medium
- Languages: JavaScript, TypeScript, Python, Java, C++, C, C#, Go, Kotlin, Swift, Rust, PHP and Ruby
- Cost: Free on every plan; sign in to run and submit
6 problems the CodeKairo catalogue tags as commonly asked in Samsung's coding rounds — 6 medium, no hard ones — each judged by hidden tests in 13 languages. The most common topics among them are Arrays (2), Greedy (2) and Bit Manipulation (2). The tag is the catalogue's own annotation of where a problem tends to come up — not a list published by Samsung, which CodeKairo is not affiliated with.
Samsung study plan by topic
All 6 problems tagged Samsung, about 3 h 30 min of solving, grouped by technique in the order they build on each other — Counting, Two Pointers, Prefix Sum and Enumeration and 2 more.
The plan
6 problems on Counting, Two Pointers, Prefix Sum, Enumeration, Bit Manipulation and Number Theory, easiest first within each topic.
All problems tagged Samsung
Medium (6)
- Count Number of Maximum Bitwise-OR Subsets Bit Manipulation, Backtracking, Enumeration
- Minimize XOR Bit Manipulation, Greedy
- Smallest Value After Replacing With Sum of Prime Factors Math, Number Theory, Simulation
- Minimum Number of Frogs Croaking String, Greedy, Counting
- Count Triplets With Sum Smaller Than X Array, Two Pointers, Sorting
- Longest Subarray With Sum Zero Array, Hash Table, Prefix Sum
Topics Samsung asks most
- Arrays 2 problems
- Greedy 2 problems
- Bit Manipulation 2 problems
- Strings 1 problem
- Hash Table 1 problem
- Counting 1 problem
- Math 1 problem
- Two Pointers 1 problem
- Prefix Sum 1 problem
- Sorting 1 problem
- Simulation 1 problem
- Enumeration 1 problem