Samsung Electronics Interview Question

Basic LeetCode Easy/Medium problems involving operations on arrays of numbers.