← Flipkart questions
CodingReported in a candidate post, Jul 2025

Maximise sum of k picks from either end

Filed under Flipkart

Given an array and an integer k, you take exactly k elements, each from either the left or right end of the array. Return the maximum possible sum of the chosen elements.

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 Flipkart questions

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