← Samsung questions

Sum of second minimum of odd indices and second maximum of even indices

Filed under Samsung

Given an array of integers, find the second smallest element among those at odd indices and the second largest element among those at even indices (0-indexed). Return the sum of these two values.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Samsung questions

Collected from public candidate posts and coding forums. Updated Nov 2026.